mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
os module: remove nonbreaking space in a comment
This commit is contained in:
parent
a837aa6213
commit
bb4f218050
1 changed files with 2 additions and 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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue