mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
xml.dom.minidom: add Node.__bool__ (#7323)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -22,6 +22,7 @@ class Node(xml.dom.Node):
|
||||
def lastChild(self) -> Node | None: ...
|
||||
@property
|
||||
def localName(self) -> str | None: ...
|
||||
def __bool__(self) -> bool: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def toxml(self, encoding: Any | None = ..., standalone: Any | None = ...): ...
|
||||
def toprettyxml(self, indent: str = ..., newl: str = ..., encoding: Any | None = ..., standalone: Any | None = ...): ...
|
||||
|
||||
Reference in New Issue
Block a user