1 """Stub file for the 'strop' module."""
\r
3 from typing import List, Sequence
\r
5 lowercase = ... # type: str
\r
6 uppercase = ... # type: str
\r
7 whitespace = ... # type: str
\r
9 def atof(a: str) -> float:
\r
10 raise DeprecationWarning()
\r
12 def atoi(a: str, base: int = ...) -> int:
\r
13 raise DeprecationWarning()
\r
15 def atol(a: str, base: int = ...) -> long:
\r
16 raise DeprecationWarning()
\r
18 def capitalize(s: str) -> str:
\r
19 raise DeprecationWarning()
\r
21 def count(s: str, sub: str, start: int = ..., end: int = ...) -> int:
\r
22 raise DeprecationWarning()
\r
24 def expandtabs(string: str, tabsize: int = ...) -> str:
\r
25 raise DeprecationWarning()
\r
26 raise OverflowError()
\r
28 def find(s: str, sub: str, start: int = ..., end: int = ...) -> int:
\r
29 raise DeprecationWarning()
\r
31 def join(list: Sequence[str], sep: str = ...) -> str:
\r
32 raise DeprecationWarning()
\r
33 raise OverflowError()
\r
35 def joinfields(list: Sequence[str], sep: str = ...) -> str:
\r
36 raise DeprecationWarning()
\r
37 raise OverflowError()
\r
39 def lower(s: str) -> str:
\r
40 raise DeprecationWarning()
\r
42 def lstrip(s: str) -> str:
\r
43 raise DeprecationWarning()
\r
45 def maketrans(frm: str, to: str) -> str: ...
\r
47 def replace(s: str, old: str, new: str, maxsplit: int = ...) -> str:
\r
48 raise DeprecationWarning()
\r
50 def rfind(s: str, sub: str, start: int = ..., end: int = ...) -> int:
\r
51 raise DeprecationWarning()
\r
53 def rstrip(s: str) -> str:
\r
54 raise DeprecationWarning()
\r
56 def split(s: str, sep: str, maxsplit: int = ...) -> List[str]:
\r
57 raise DeprecationWarning()
\r
59 def splitfields(s: str, sep: str, maxsplit: int = ...) -> List[str]:
\r
60 raise DeprecationWarning()
\r
62 def strip(s: str) -> str:
\r
63 raise DeprecationWarning()
\r
65 def swapcase(s: str) -> str:
\r
66 raise DeprecationWarning()
\r
68 def translate(s: str, table: str, deletechars: str = ...) -> str:
\r
69 raise DeprecationWarning()
\r
71 def upper(s: str) -> str:
\r
72 raise DeprecationWarning()
\r