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 authored and Guido van Rossum committed 2016-10-17 17:49:12 -07:00
1 parent 5c4300a4bd
commit 94d3ddb60a
3 files changed
+6 -2

No files matched your search

+4
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