add some Python 2 modules

This commit is contained in:
Matthias Kramm
2015-03-12 14:21:08 -07:00
parent 83cdec9a4c
commit 231d854ef3
16 changed files with 863 additions and 0 deletions

80
python2/strop.py Normal file
View File

@@ -0,0 +1,80 @@
# This is an autogenerated file. It serves as a starting point
# for a more percise manual annotation of this module.
# Feel free to edit the source below, but remove this header when you do.
def atoi(a: str, *args, **kwargs) -> int:
raise ValueError()
raise DeprecationWarning()
def split(*args, **kwargs) -> List[str]:
raise ValueError()
raise DeprecationWarning()
def joinfields(*args, **kwargs) -> object:
raise OverflowError()
raise TypeError()
raise DeprecationWarning()
def lower(*args, **kwargs) -> str:
raise DeprecationWarning()
def lstrip(*args, **kwargs) -> str:
raise DeprecationWarning()
def atol(a: str, *args, **kwargs) -> long:
raise ValueError()
raise DeprecationWarning()
def upper(*args, **kwargs) -> str:
raise DeprecationWarning()
def expandtabs(a: Nothing, *args, **kwargs) -> str:
raise OverflowError()
raise ValueError()
raise DeprecationWarning()
def translate(*args, **kwargs) -> str:
raise ValueError()
raise DeprecationWarning()
def capitalize(*args, **kwargs) -> str:
raise DeprecationWarning()
def find(*args, **kwargs) -> int:
raise DeprecationWarning()
def join(*args, **kwargs) -> object:
raise OverflowError()
raise TypeError()
raise DeprecationWarning()
def count(*args, **kwargs) -> int:
raise DeprecationWarning()
def swapcase(*args, **kwargs) -> str:
raise DeprecationWarning()
def maketrans(*args, **kwargs) -> str:
raise ValueError()
def rstrip(*args, **kwargs) -> str:
raise DeprecationWarning()
def strip(*args, **kwargs) -> str:
raise DeprecationWarning()
def atof(a: str) -> float:
raise ValueError()
raise DeprecationWarning()
def splitfields(*args, **kwargs) -> List[str]:
raise ValueError()
raise DeprecationWarning()
def replace(*args, **kwargs) -> str:
raise MemoryError()
raise ValueError()
raise DeprecationWarning()
def rfind(*args, **kwargs) -> int:
raise DeprecationWarning()