[Python-checkins] cpython: Issue #21515: Fix typo in a comment, thanks Arfrever for the report

victor.stinner python-checkins at python.org
Mon Jun 9 00:06:02 CEST 2014


http://hg.python.org/cpython/rev/8b93cdccd872
changeset:   91097:8b93cdccd872
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Jun 09 00:05:47 2014 +0200
summary:
  Issue #21515: Fix typo in a comment, thanks Arfrever for the report

files:
  Lib/tempfile.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/tempfile.py b/Lib/tempfile.py
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -505,7 +505,7 @@
                 fd = _os.open(dir, flags2, 0o600)
             except IsADirectoryError:
                 # Linux kernel older than 3.11 ignores O_TMPFILE flag.
-                # Set flag to None to not try again.
+                # Set flag to False to not try again.
                 _O_TMPFILE_WORKS = False
             except OSError:
                 # The filesystem of the directory does not support O_TMPFILE.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list