mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 12:21:27 +08:00
Add missing 'self'
This commit is contained in:
42
2.7/_sre.pyi
42
2.7/_sre.pyi
@@ -19,35 +19,35 @@ def getlower(a: int, b: int) -> int: ...
|
||||
|
||||
|
||||
class SRE_Match(object):
|
||||
def __copy__() -> Any:
|
||||
def __copy__(self) -> Any:
|
||||
raise TypeError()
|
||||
def __deepcopy__(*args, **kwargs) -> Any:
|
||||
def __deepcopy__(self, *args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
def end(*args, **kwargs) -> int:
|
||||
def end(self, *args, **kwargs) -> int:
|
||||
raise IndexError()
|
||||
def expand(*args, **kwargs) -> Any: ...
|
||||
def group(*args, **kwargs) -> tuple: ...
|
||||
def groupdict(*args, **kwargs) -> dict: ...
|
||||
def groups(*args, **kwargs) -> tuple: ...
|
||||
def span(*args, **kwargs) -> tuple:
|
||||
def expand(self, *args, **kwargs) -> Any: ...
|
||||
def group(self, *args, **kwargs) -> tuple: ...
|
||||
def groupdict(self, *args, **kwargs) -> dict: ...
|
||||
def groups(self, *args, **kwargs) -> tuple: ...
|
||||
def span(self, *args, **kwargs) -> tuple:
|
||||
raise IndexError()
|
||||
def start(*args, **kwargs) -> int:
|
||||
def start(self, *args, **kwargs) -> int:
|
||||
raise IndexError()
|
||||
|
||||
class SRE_Pattern(object):
|
||||
def __copy__() -> Any:
|
||||
def __copy__(self) -> Any:
|
||||
raise TypeError()
|
||||
def __deepcopy__(*args, **kwargs) -> Any:
|
||||
def __deepcopy__(self, *args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
def findall(source, *args, **kwargs) -> List[tuple]: ...
|
||||
def finditer(*args, **kwargs) -> callable_iterator: ...
|
||||
def match(pattern, *args, **kwargs) -> Any: ...
|
||||
def scanner(a, *args, **kwargs) -> SRE_Scanner: ...
|
||||
def search(pattern, *args, **kwargs) -> Any: ...
|
||||
def split(source, *args, **kwargs) -> List[None]: ...
|
||||
def sub(repl, string, *args, **kwargs) -> tuple: ...
|
||||
def subn(repl, string, *args, **kwargs) -> tuple: ...
|
||||
def findall(self, source, *args, **kwargs) -> List[tuple]: ...
|
||||
def finditer(self, *args, **kwargs) -> callable_iterator: ...
|
||||
def match(self, pattern, *args, **kwargs) -> Any: ...
|
||||
def scanner(self, a, *args, **kwargs) -> SRE_Scanner: ...
|
||||
def search(self, pattern, *args, **kwargs) -> Any: ...
|
||||
def split(self, source, *args, **kwargs) -> List[None]: ...
|
||||
def sub(self, repl, string, *args, **kwargs) -> tuple: ...
|
||||
def subn(self, repl, string, *args, **kwargs) -> tuple: ...
|
||||
|
||||
class SRE_Scanner(object):
|
||||
def match() -> Any: ...
|
||||
def search() -> Any: ...
|
||||
def match(self) -> Any: ...
|
||||
def search(self) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user