xml.dom.minidom: add Node.__bool__ (#7323)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2022-02-20 15:22:02 -08:00
committed by GitHub
parent 2fe519c3a7
commit 584e18491b

View File

@@ -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 = ...): ...