mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 02:41:16 +08:00
Add some types for xml.dom.minidom.Text (#11725)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user