From: Victor Stinner Date: Sun, 7 Nov 2010 15:43:39 +0000 (+0000) Subject: os module: remove nonbreaking space in a comment X-Git-Tag: v3.2a4~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb4f218050a76ff69d2ca9d5512bedaa69cf4529;p=thirdparty%2FPython%2Fcpython.git os module: remove nonbreaking space in a comment --- diff --git a/Lib/os.py b/Lib/os.py index 5848d74461b3..89fd1f3343c8 100644 --- a/Lib/os.py +++ b/Lib/os.py @@ -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)