Mark various dunder methods as positional-only in the stdlib (#14528)

This commit is contained in:
Brian Schubert
2025-08-05 17:57:39 -04:00
committed by GitHub
parent 953e21bafa
commit d01dc82bd2
7 changed files with 27 additions and 26 deletions
+1 -1
View File
@@ -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