Format: application/octet-stream
⬇ Download File (528 B)
   1  # Stub-only types. This module does not exist at runtime.
   2  
   3  from typing import Any, Optional
   4  from typing_extensions import Protocol
   5  
   6  # As defined https://docs.python.org/3/library/xml.dom.html#domimplementation-objects
   7  class DOMImplementation(Protocol):
   8      def hasFeature(self, feature: str, version: Optional[str]) -> bool: ...
   9      def createDocument(self, namespaceUri: str, qualifiedName: str, doctype: Optional[Any]) -> Any: ...
  10      def createDocumentType(self, qualifiedName: str, publicId: str, systemId: str) -> Any: ...
  11