mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add missing annotations for xml.dom.minidom.DOMImplementation (#8556)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -265,10 +265,10 @@ class Notation(Identified, Childless, Node):
|
||||
def __init__(self, name, publicId, systemId) -> None: ...
|
||||
|
||||
class DOMImplementation(DOMImplementationLS):
|
||||
def hasFeature(self, feature, version) -> bool: ...
|
||||
def createDocument(self, namespaceURI: str | None, qualifiedName: str | None, doctype): ...
|
||||
def createDocumentType(self, qualifiedName: str | None, publicId, systemId): ...
|
||||
def getInterface(self, feature): ...
|
||||
def hasFeature(self, feature: str, version: str | None) -> bool: ...
|
||||
def createDocument(self, namespaceURI: str | None, qualifiedName: str | None, doctype: DocumentType | None) -> Document: ...
|
||||
def createDocumentType(self, qualifiedName: str | None, publicId: str, systemId: str) -> DocumentType: ...
|
||||
def getInterface(self: Self, feature: str) -> Self | None: ...
|
||||
|
||||
class ElementInfo:
|
||||
tagName: Any
|
||||
|
||||
Reference in New Issue
Block a user