add re.template (#1330)

This commit is contained in:
Jelle Zijlstra
2017-05-24 14:07:31 -07:00
committed by Guido van Rossum
parent 890190d349
commit 89f27742ca
2 changed files with 5 additions and 1 deletions

View File

@@ -97,3 +97,4 @@ def subn(pattern: Union[Pattern[str], Pattern[unicode]], repl: Callable[[Match[A
def escape(string: AnyStr) -> AnyStr: ...
def purge() -> None: ...
def template(pattern: Union[AnyStr, Pattern[AnyStr]], flags: int = ...) -> Pattern[AnyStr]: ...