massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / xml / etree / ElementInclude.pyi
1 # Stubs for xml.etree.ElementInclude (Python 3.4)\r
2 \r
3 from typing import Union, Optional, Callable\r
4 from xml.etree.ElementTree import Element\r
5 \r
6 XINCLUDE = ...  # type: str\r
7 XINCLUDE_INCLUDE = ...  # type: str\r
8 XINCLUDE_FALLBACK = ...  # type: str\r
9 \r
10 class FatalIncludeError(SyntaxError): ...\r
11 \r
12 def default_loader(href: Union[str, bytes, int], parse: str, encoding: Optional[str]=...) -> Union[str, Element]: ...\r
13 \r
14 # TODO: loader is of type default_loader ie it takes a callable that has the\r
15 # same signature as default_loader. But default_loader has a keyword argument\r
16 # Which can't be represented using Callable...\r
17 def include(elem: Element, loader: Callable[..., Union[str, Element]]=...) -> None: ...\r