mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Add @disjoint_base to builtins.tuple (#14683)
This commit is contained in:
1 parent
013cef085b
commit
bf484ab320
2 files changed
+1
-3
No files matched your search
+1
-2
@@ -1021,8 +1021,7 @@ class slice(Generic[_StartT_co, _StopT_co, _StepT_co]):
|
||||
|
||||
def indices(self, len: SupportsIndex, /) -> tuple[int, int, int]: ...
|
||||
|
||||
# Making this a disjoint_base upsets pyright
|
||||
# @disjoint_base
|
||||
@disjoint_base
|
||||
class tuple(Sequence[_T_co]):
|
||||
def __new__(cls, iterable: Iterable[_T_co] = ..., /) -> Self: ...
|
||||
def __len__(self) -> int: ...
|
||||
|
||||
Reference in new issue
Block a user