xml.dom.minidom: add missing type annotation of Element.getAttribute (#8350)

This commit is contained in:
Tetsuo Kiso
2022-07-21 15:18:58 +09:00
committed by GitHub
parent e42c983740
commit 10bc4b0584

View File

@@ -127,7 +127,7 @@ class Element(Node):
self, tagName, namespaceURI: str | None = ..., prefix: Any | None = ..., localName: Any | None = ...
) -> None: ...
def unlink(self) -> None: ...
def getAttribute(self, attname): ...
def getAttribute(self, attname: str) -> str: ...
def getAttributeNS(self, namespaceURI: str, localName): ...
def setAttribute(self, attname, value) -> None: ...
def setAttributeNS(self, namespaceURI: str, qualifiedName: str, value) -> None: ...