re: various fixes (#3746)

* re: mark positional-only args

* re: fix escape arg name

* re: update whitelist
This commit is contained in:
Shantanu
2020-02-21 02:55:11 -08:00
committed by GitHub
parent 5324bd02f2
commit 87791e4e15
5 changed files with 7 additions and 11 deletions

View File

@@ -559,9 +559,9 @@ class Match(Generic[AnyStr]):
def groups(self, default: AnyStr = ...) -> Sequence[AnyStr]: ...
def groupdict(self, default: AnyStr = ...) -> dict[str, 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]: ...
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):