mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Add some missing properties to xml.dom.minidom.Node. (#5919)
This commit is contained in:
@@ -16,6 +16,12 @@ class Node(xml.dom.Node):
|
||||
nextSibling: Any
|
||||
previousSibling: Any
|
||||
prefix: Any
|
||||
@property
|
||||
def firstChild(self) -> Node | None: ...
|
||||
@property
|
||||
def lastChild(self) -> Node | None: ...
|
||||
@property
|
||||
def localName(self) -> str | None: ...
|
||||
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