Skip to content

Commit

Permalink
xml: Add missing types for DocumentType's publicId and systemId (#13343)
Browse files Browse the repository at this point in the history
  • Loading branch information
JPTIZ authored Jan 13, 2025
1 parent 88be13d commit 1017916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stdlib/xml/dom/minidom.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ class ReadOnlySequentialNamedNodeMap:
def length(self) -> int: ...

class Identified:
publicId: Incomplete
systemId: Incomplete
publicId: str | None
systemId: str | None

class DocumentType(Identified, Childless, Node):
nodeType: int
Expand Down Expand Up @@ -331,7 +331,7 @@ class Notation(Identified, Childless, Node):
class DOMImplementation(DOMImplementationLS):
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 createDocumentType(self, qualifiedName: str | None, publicId: str | None, systemId: str | None) -> DocumentType: ...
def getInterface(self, feature: str) -> Self | None: ...

class ElementInfo:
Expand Down

0 comments on commit 1017916

Please sign in to comment.