diff --git a/stdlib/2.7/os/__init__.pyi b/stdlib/2.7/os/__init__.pyi index 3f9aa0d90..cf548b237 100644 --- a/stdlib/2.7/os/__init__.pyi +++ b/stdlib/2.7/os/__init__.pyi @@ -4,7 +4,7 @@ from typing import ( List, Tuple, Union, Sequence, Mapping, IO, Any, Optional, AnyStr, Iterator, MutableMapping, NamedTuple ) -import os.path as path +from os import path error = OSError name = ... # type: str diff --git a/stdlib/2.7/simplejson/__init__.pyi b/stdlib/2.7/simplejson/__init__.pyi index 84e648333..d34e42b65 100644 --- a/stdlib/2.7/simplejson/__init__.pyi +++ b/stdlib/2.7/simplejson/__init__.pyi @@ -5,6 +5,6 @@ def dump(obj: Any, fp: IO[str], *args: Any, **kwds: Any) -> None: ... def loads(s: str, **kwds: Any) -> Any: ... def load(fp: IO[str]) -> Any: ... -from .scanner import JSONDecodeError -from .decoder import JSONDecoder -from .encoder import JSONEncoder, JSONEncoderForHTML +from simplejson.scanner import JSONDecodeError +from simplejson.decoder import JSONDecoder +from simplejson.encoder import JSONEncoder, JSONEncoderForHTML diff --git a/stdlib/2.7/xml/etree/ElementInclude.pyi b/stdlib/2.7/xml/etree/ElementInclude.pyi index a9e04f256..09acc8f64 100644 --- a/stdlib/2.7/xml/etree/ElementInclude.pyi +++ b/stdlib/2.7/xml/etree/ElementInclude.pyi @@ -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 diff --git a/stdlib/2.7/xml/etree/ElementPath.pyi b/stdlib/2.7/xml/etree/ElementPath.pyi index e17e5bb3a..e057b88cd 100644 --- a/stdlib/2.7/xml/etree/ElementPath.pyi +++ b/stdlib/2.7/xml/etree/ElementPath.pyi @@ -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