massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / _typeshed / xml.pyi
1 # See the README.md file in this directory for more information.
2
3 from typing import Any
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: str | None) -> bool: ...
9     def createDocument(self, namespaceUri: str, qualifiedName: str, doctype: Any | None) -> Any: ...
10     def createDocumentType(self, qualifiedName: str, publicId: str, systemId: str) -> Any: ...