mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Change imports so pytype can parse them (#394)
* Change imports so pytype can parse them relative imports -> absolute import foo.bar as baz -> equivalent "from foo ..." * fixup ...
This commit is contained in:
committed by
Matthias Kramm
parent
19135832bd
commit
d7db6221da
@@ -3,7 +3,7 @@
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Union, Optional, Callable
|
||||
from .ElementTree import Element
|
||||
from xml.etree.ElementTree import Element
|
||||
|
||||
XINCLUDE = ... # type: str
|
||||
XINCLUDE_INCLUDE = ... # type: str
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Pattern, Dict, Generator, Tuple, List, Union, TypeVar, Callable, Optional
|
||||
from .ElementTree import Element
|
||||
from xml.etree.ElementTree import Element
|
||||
|
||||
xpath_tokenizer_re = ... # type: Pattern
|
||||
|
||||
|
||||
Reference in New Issue
Block a user