Add re fullmatch() information (#381)

This commit is contained in:
Jakub Stasiak
2016-07-26 15:43:29 +01:00
committed by Guido van Rossum
parent 918eef43f7
commit 44b367c7fe
2 changed files with 10 additions and 1 deletions

View File

@@ -378,6 +378,9 @@ class Pattern(Generic[AnyStr]):
endpos: int = ...) -> Match[AnyStr]: ...
def match(self, string: AnyStr, pos: int = ...,
endpos: int = ...) -> Match[AnyStr]: ...
# New in Python 3.4
def fullmatch(self, string: AnyStr, pos: int = ...,
endpos: int = ...) -> Optional[Match[AnyStr]]: ...
def split(self, string: AnyStr, maxsplit: int = ...) -> list[AnyStr]: ...
def findall(self, string: AnyStr, pos: int = ...,
endpos: int = ...) -> list[Any]: ...