Add some types for xml.dom.minidom.Text (#11725)

This commit is contained in:
Adam Dangoor
2024-04-06 13:45:24 +01:00
committed by GitHub
parent a9d644b3ff
commit 4a33b2f3a0

View File

@@ -256,9 +256,9 @@ class Text(CharacterData):
nodeName: str
attributes: Incomplete
data: Incomplete
def splitText(self, offset): ...
def splitText(self, offset: int) -> Self: ...
def writexml(self, writer: SupportsWrite[str], indent: str = "", addindent: str = "", newl: str = "") -> None: ...
def replaceWholeText(self, content): ...
def replaceWholeText(self, content) -> Self | None: ...
@property
def isWhitespaceInElementContent(self) -> bool: ...
@property