os module: remove nonbreaking space in a comment
This commit is contained in:
parent
a837aa6213
commit
bb4f218050
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue