mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
Add Match.regs (#2819)
This commit is contained in:
1 parent
679e1a9a8c
commit
1edd6cd8a8
3 files changed
+6
No files matched your search
@@ -545,6 +545,8 @@ class Match(Generic[AnyStr]):
|
||||
def start(self, group: Union[int, str] = ...) -> int: ...
|
||||
def end(self, group: Union[int, str] = ...) -> int: ...
|
||||
def span(self, group: Union[int, str] = ...) -> Tuple[int, int]: ...
|
||||
@property
|
||||
def regs(self) -> Tuple[Tuple[int, int], ...]: ... # undocumented
|
||||
if sys.version_info >= (3, 6):
|
||||
def __getitem__(self, g: Union[int, str]) -> AnyStr: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user