mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 09:55:59 +08:00
change the way 'os' imports 'os.path' (#601)
* use 'from . import path' instead, in both PY2 and PY3 * update blacklist to include os/__init__.pyi
This commit is contained in:
committed by
Guido van Rossum
parent
5c4300a4bd
commit
94d3ddb60a
@@ -4,7 +4,7 @@ from typing import (
|
||||
List, Tuple, Union, Sequence, Mapping, IO, Any, Optional, AnyStr, Iterator,
|
||||
MutableMapping, NamedTuple, overload
|
||||
)
|
||||
from os import path
|
||||
from . import path
|
||||
|
||||
error = OSError
|
||||
name = ... # type: str
|
||||
|
||||
Reference in New Issue
Block a user