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:
Kevin Kirsche
2022-08-20 15:33:40 -04:00
committed by GitHub
parent c6d34cc24d
commit fb62ccabf5

View File

@@ -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