mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Remove un-needed __hash__ methods from stdlib (#8465)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user