diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-07 15:43:39 +0000 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-07 15:43:39 +0000 |
| commit | d6e4969ee366e6abaa1d122691b42b81bfcc62f6 (patch) | |
| tree | 5d724761ac38b9be7135d26f6fc4ea2091bdf8ae /Lib/os.py | |
| parent | c5ee103ae082527fb9a7a54a72a8f311c81dc574 (diff) | |
| download | cpython-d6e4969ee366e6abaa1d122691b42b81bfcc62f6.tar.gz | |
os module: remove nonbreaking space in a comment
Diffstat (limited to 'Lib/os.py')
| -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) |
