mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 02:42:29 +08:00
Fix dunder-method positional-only parameter discrepancies in third-party stubs (#14529)
This commit is contained in:
@@ -62,30 +62,32 @@ class Lib:
|
||||
@final
|
||||
class _CDataBase:
|
||||
__name__: ClassVar[str]
|
||||
def __add__(self, other): ...
|
||||
def __add__(self, other, /): ...
|
||||
def __bool__(self) -> bool: ...
|
||||
def __call__(self, *args, **kwargs): ...
|
||||
def __complex__(self) -> complex: ...
|
||||
def __delitem__(self, other) -> None: ...
|
||||
def __delitem__(self, other, /) -> None: ...
|
||||
def __dir__(self): ...
|
||||
def __enter__(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __exit__(self, type: type[BaseException] | None, value: BaseException | None, traceback: types.TracebackType | None): ...
|
||||
def __eq__(self, other, /): ...
|
||||
def __exit__(
|
||||
self, type: type[BaseException] | None, value: BaseException | None, traceback: types.TracebackType | None, /
|
||||
): ...
|
||||
def __float__(self) -> float: ...
|
||||
def __ge__(self, other): ...
|
||||
def __getitem__(self, index: SupportsIndex | slice): ...
|
||||
def __gt__(self, other): ...
|
||||
def __ge__(self, other, /): ...
|
||||
def __getitem__(self, index: SupportsIndex | slice, /): ...
|
||||
def __gt__(self, other, /): ...
|
||||
def __hash__(self) -> int: ...
|
||||
def __int__(self) -> int: ...
|
||||
def __iter__(self): ...
|
||||
def __le__(self, other): ...
|
||||
def __le__(self, other, /): ...
|
||||
def __len__(self) -> int: ...
|
||||
def __lt__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __radd__(self, other): ...
|
||||
def __rsub__(self, other): ...
|
||||
def __setitem__(self, index: SupportsIndex | slice, object) -> None: ...
|
||||
def __sub__(self, other): ...
|
||||
def __lt__(self, other, /): ...
|
||||
def __ne__(self, other, /): ...
|
||||
def __radd__(self, other, /): ...
|
||||
def __rsub__(self, other, /): ...
|
||||
def __setitem__(self, index: SupportsIndex | slice, object, /) -> None: ...
|
||||
def __sub__(self, other, /): ...
|
||||
|
||||
@final
|
||||
class buffer:
|
||||
|
||||
Reference in New Issue
Block a user