Remove un-needed __hash__ methods from stdlib (#8465)

This commit is contained in:
Nikita Sobolev
2022-08-06 16:55:27 +03:00
committed by GitHub
parent ac86defef7
commit 64bc0590a6
12 changed files with 0 additions and 21 deletions

View File

@@ -85,7 +85,6 @@ class Example:
indent: int = ...,
options: dict[int, bool] | None = ...,
) -> None: ...
def __hash__(self) -> int: ...
def __eq__(self, other: object) -> bool: ...
class DocTest:
@@ -104,7 +103,6 @@ class DocTest:
lineno: int | None,
docstring: str | None,
) -> None: ...
def __hash__(self) -> int: ...
def __lt__(self, other: DocTest) -> bool: ...
def __eq__(self, other: object) -> bool: ...
@@ -211,7 +209,6 @@ class DocTestCase(unittest.TestCase):
def format_failure(self, err: str) -> str: ...
def debug(self) -> None: ...
def id(self) -> str: ...
def __hash__(self) -> int: ...
def __eq__(self, other: object) -> bool: ...
def shortDescription(self) -> str: ...