diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2014-09-26 12:33:06 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2014-09-26 12:33:06 -0400 |
commit | 97e2e06af84942c1d776df9660aa5f8dd30f222c (patch) | |
tree | cdc7af13f35813dd40a735f9f9492fb6999c3a2d /Lib/os.py | |
parent | 4f6355f8618bd463abe9dfe647ba60dcf2d71546 (diff) | |
download | cpython-git-97e2e06af84942c1d776df9660aa5f8dd30f222c.tar.gz |
os: Include posix functions in os.__all__. Closes issue #18554.
Patch by Ronald Oussoren.
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -61,6 +61,10 @@ if 'posix' in _names: except ImportError: pass + import posix + __all__.extend(_get_exports_list(posix)) + del posix + elif 'nt' in _names: name = 'nt' linesep = '\r\n' |