Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stubs/regex/regex/_main.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ class Match(Generic[AnyStr]):

def capturesdict(self) -> dict[str, list[AnyStr]]: ...
def detach_string(self) -> None: ...
def allcaptures(self) -> tuple[list[AnyStr]]: ...
def allspans(self) -> tuple[list[tuple[int, int]]]: ...
def allcaptures(self) -> tuple[list[AnyStr], ...]: ...
def allspans(self) -> tuple[list[tuple[int, int]], ...]: ...

@overload
def __getitem__(self, key: Literal[0], /) -> AnyStr: ...
Expand Down