mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
stdlib: correct many pos-or-kw arg names in dunder methods (#7451)
This commit is contained in:
@@ -90,7 +90,7 @@ class Synchronized(SynchronizedBase[_SimpleCData[_T]], Generic[_T]):
|
||||
class SynchronizedArray(SynchronizedBase[ctypes.Array[_CT]], Generic[_CT]):
|
||||
def __len__(self) -> int: ...
|
||||
def __getitem__(self, i: int) -> _CT: ...
|
||||
def __setitem__(self, i: int, o: _CT) -> None: ...
|
||||
def __setitem__(self, i: int, value: _CT) -> None: ...
|
||||
def __getslice__(self, start: int, stop: int) -> list[_CT]: ...
|
||||
def __setslice__(self, start: int, stop: int, values: Iterable[_CT]) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user