File: strop.pyi

package info (click to toggle)
mypy 0.470-complete-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,864 kB
  • ctags: 3,264
  • sloc: python: 21,838; makefile: 18
file content (72 lines) | stat: -rw-r--r-- 1,878 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""Stub file for the 'strop' module."""

from typing import List, Sequence

lowercase = ...  # type: str
uppercase = ...  # type: str
whitespace = ...  # type: str

def atof(a: str) -> float:
    raise DeprecationWarning()

def atoi(a: str, base: int = ...) -> int:
    raise DeprecationWarning()

def atol(a: str, base: int = ...) -> long:
    raise DeprecationWarning()

def capitalize(s: str) -> str:
    raise DeprecationWarning()

def count(s: str, sub: str, start: int = ..., end: int = ...) -> int:
    raise DeprecationWarning()

def expandtabs(string: str, tabsize: int = ...) -> str:
    raise DeprecationWarning()
    raise OverflowError()

def find(s: str, sub: str, start: int = ..., end: int = ...) -> int:
    raise DeprecationWarning()

def join(list: Sequence[str], sep: str = ...) -> str:
    raise DeprecationWarning()
    raise OverflowError()

def joinfields(list: Sequence[str], sep: str = ...) -> str:
    raise DeprecationWarning()
    raise OverflowError()

def lower(s: str) -> str:
    raise DeprecationWarning()

def lstrip(s: str) -> str:
    raise DeprecationWarning()

def maketrans(frm: str, to: str) -> str: ...

def replace(s: str, old: str, new: str, maxsplit: int = ...) -> str:
    raise DeprecationWarning()

def rfind(s: str, sub: str, start: int = ..., end: int = ...) -> int:
    raise DeprecationWarning()

def rstrip(s: str) -> str:
    raise DeprecationWarning()

def split(s: str, sep: str, maxsplit: int = ...) -> List[str]:
    raise DeprecationWarning()

def splitfields(s: str, sep: str, maxsplit: int = ...) -> List[str]:
    raise DeprecationWarning()

def strip(s: str) -> str:
    raise DeprecationWarning()

def swapcase(s: str) -> str:
    raise DeprecationWarning()

def translate(s: str, table: str, deletechars: str = ...) -> str:
    raise DeprecationWarning()

def upper(s: str) -> str:
    raise DeprecationWarning()