diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-07 15:43:39 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-07 15:43:39 (GMT) |
commit | bb4f218050a76ff69d2ca9d5512bedaa69cf4529 (patch) | |
tree | f8f34ab5074232d41a970996ae2a844d71c3c39d | |
parent | a837aa62134468cc63d7acf1135b5f66fc08f12b (diff) | |
download | cpython-bb4f218050a76ff69d2ca9d5512bedaa69cf4529.zip cpython-bb4f218050a76ff69d2ca9d5512bedaa69cf4529.tar.gz cpython-bb4f218050a76ff69d2ca9d5512bedaa69cf4529.tar.bz2 |
os module: remove nonbreaking space in a comment
-rw-r--r-- | Lib/os.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -390,8 +390,8 @@ def get_exec_path(env=None): if env is None: env = environ - # {b'PATH': ...}.get('PATH') and {'PATH': ...}.get(b'PATH') emit a - # BytesWarning when using python -b or python -bb: ignore the warning + # {b'PATH': ...}.get('PATH') and {'PATH': ...}.get(b'PATH') emit a + # BytesWarning when using python -b or python -bb: ignore the warning with warnings.catch_warnings(): warnings.simplefilter("ignore", BytesWarning) |