mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
Mark various dunder methods as positional-only in the stdlib (#14528)
This commit is contained in:
@@ -89,8 +89,8 @@ class EntryPoint(_EntryPointBase):
|
||||
) -> bool: ... # undocumented
|
||||
|
||||
def __hash__(self) -> int: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
def __lt__(self, other: object) -> bool: ...
|
||||
if sys.version_info < (3, 12):
|
||||
def __iter__(self) -> Iterator[Any]: ... # result of iter((str, Self)), really
|
||||
|
||||
Reference in New Issue
Block a user