mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 10:32:40 +08:00
stdlib: Add defaults for positional-only parameters (#9655)
This commit is contained in:
1 parent
35172c7aab
commit
1d7dda7fa1
30 files changed
+159
-155
No files matched your search
+3
-3
@@ -89,9 +89,9 @@ class Match(Generic[AnyStr]):
|
||||
def groupdict(self) -> dict[str, AnyStr | Any]: ...
|
||||
@overload
|
||||
def groupdict(self, default: _T) -> dict[str, AnyStr | _T]: ...
|
||||
def start(self, __group: int | str = ...) -> int: ...
|
||||
def end(self, __group: int | str = ...) -> int: ...
|
||||
def span(self, __group: int | str = ...) -> tuple[int, int]: ...
|
||||
def start(self, __group: int | str = 0) -> int: ...
|
||||
def end(self, __group: int | str = 0) -> int: ...
|
||||
def span(self, __group: int | str = 0) -> tuple[int, int]: ...
|
||||
@property
|
||||
def regs(self) -> tuple[tuple[int, int], ...]: ... # undocumented
|
||||
# __getitem__() returns "AnyStr" or "AnyStr | None", depending on the pattern.
|
||||
|
||||
Reference in new issue
Block a user