mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add re fullmatch() information (#381)
This commit is contained in:
committed by
Guido van Rossum
parent
918eef43f7
commit
44b367c7fe
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user