mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
Add __hash__ for a bunch of types that set it to None (#13286)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
import xml.dom
|
||||
from _typeshed import Incomplete, ReadableBuffer, SupportsRead, SupportsWrite
|
||||
from typing import Literal, NoReturn, TypeVar, overload
|
||||
from typing import ClassVar, Literal, NoReturn, TypeVar, overload
|
||||
from typing_extensions import Self
|
||||
from xml.dom.minicompat import NodeList
|
||||
from xml.dom.xmlbuilder import DocumentLS, DOMImplementationLS
|
||||
@@ -151,6 +151,7 @@ class NamedNodeMap:
|
||||
def keysNS(self): ...
|
||||
def values(self): ...
|
||||
def get(self, name: str, value: Incomplete | None = None): ...
|
||||
__hash__: ClassVar[None] # type: ignore[assignment]
|
||||
def __len__(self) -> int: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
def __ge__(self, other: NamedNodeMap) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user