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:
Matthias Kramm
2016-10-17 17:49:12 -07:00
committed by Guido van Rossum
parent 5c4300a4bd
commit 94d3ddb60a
3 changed files with 6 additions and 2 deletions

View File

@@ -5,3 +5,7 @@ stdlib/2.7/builtins.pyi
stdlib/2.7/types.pyi
stdlib/2.7/typing.pyi
stdlib/2and3/webbrowser.pyi
# Because of 'from . import path':
stdlib/2.7/os/__init__.pyi
stdlib/3/os/__init__.pyi