mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 04:52:23 +08:00
Rename .py to .pyi.
This commit is contained in:
83
2.7/strop.pyi
Normal file
83
2.7/strop.pyi
Normal file
@@ -0,0 +1,83 @@
|
||||
"""Stub file for the 'strop' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
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 DeprecationWarning()
|
||||
raise OverflowError()
|
||||
raise ValueError()
|
||||
|
||||
def find(*args, **kwargs) -> int:
|
||||
raise DeprecationWarning()
|
||||
|
||||
def join(*args, **kwargs) -> object:
|
||||
raise DeprecationWarning()
|
||||
raise OverflowError()
|
||||
raise TypeError()
|
||||
|
||||
def joinfields(*args, **kwargs) -> object:
|
||||
raise DeprecationWarning()
|
||||
raise OverflowError()
|
||||
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 MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
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()
|
||||
Reference in New Issue
Block a user