mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +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
@@ -9,7 +9,7 @@ from typing import (
|
||||
)
|
||||
import sys
|
||||
from builtins import OSError as error
|
||||
import os.path as path
|
||||
from . import path
|
||||
|
||||
# ----- os variables -----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user