mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-17 08:35:03 +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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user