mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user