Files
typeshed/python2/strop.py
Matthias Kramm c2c162a723 Add Python 3 modules, and more Python 2 modules.
Also, sort names alphabetically and add module docstrings.
2015-03-24 15:36:33 -07:00

82 lines
2.0 KiB
Python

"""Stub file for the 'strop' module."""
# 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 atof(a: str) -> float:
raise DeprecationWarning()
raise ValueError()
def atoi(a: str, *args, **kwargs) -> int:
raise DeprecationWarning()
raise ValueError()
def atol(a: str, *args, **kwargs) -> long:
raise DeprecationWarning()
raise ValueError()
def capitalize(*args, **kwargs) -> str:
raise DeprecationWarning()
def count(*args, **kwargs) -> int:
raise DeprecationWarning()
def expandtabs(a, *args, **kwargs) -> str:
raise OverflowError()
raise DeprecationWarning()
raise ValueError()
def find(*args, **kwargs) -> int:
raise DeprecationWarning()
def join(*args, **kwargs) -> object:
raise OverflowError()
raise DeprecationWarning()
raise TypeError()
def joinfields(*args, **kwargs) -> object:
raise OverflowError()
raise DeprecationWarning()
raise TypeError()
def lower(*args, **kwargs) -> str:
raise DeprecationWarning()
def lstrip(*args, **kwargs) -> str:
raise DeprecationWarning()
def maketrans(*args, **kwargs) -> str:
raise ValueError()
def replace(*args, **kwargs) -> str:
raise DeprecationWarning()
raise ValueError()
raise MemoryError()
def rfind(*args, **kwargs) -> int:
raise DeprecationWarning()
def rstrip(*args, **kwargs) -> str:
raise DeprecationWarning()
def split(*args, **kwargs) -> List[str]:
raise DeprecationWarning()
raise ValueError()
def splitfields(*args, **kwargs) -> List[str]:
raise DeprecationWarning()
raise ValueError()
def strip(*args, **kwargs) -> str:
raise DeprecationWarning()
def swapcase(*args, **kwargs) -> str:
raise DeprecationWarning()
def translate(*args, **kwargs) -> str:
raise DeprecationWarning()
raise ValueError()
def upper(*args, **kwargs) -> str:
raise DeprecationWarning()