From bb4f218050a76ff69d2ca9d5512bedaa69cf4529 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 7 Nov 2010 15:43:39 +0000 Subject: [PATCH] os module: remove nonbreaking space in a comment --- Lib/os.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/os.py b/Lib/os.py index 5848d74461..89fd1f3343 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) -- 2.40.0