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

@@ -154,7 +154,7 @@ def subn(pattern: Pattern[AnyStr], repl: Callable[[Match[AnyStr]], AnyStr],
string: AnyStr, count: int = ...,
flags: _FlagsType = ...) -> Tuple[AnyStr, int]: ...
def escape(string: AnyStr) -> AnyStr: ...
def escape(pattern: AnyStr) -> AnyStr: ...
def purge() -> None: ...
def template(pattern: Union[AnyStr, Pattern[AnyStr]], flags: _FlagsType = ...) -> Pattern[AnyStr]: ...