summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-08 22:05:47 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-08 22:05:47 (GMT)
commit350985da894dd7d6fb9f9a8ef7b2522cdb41a1e6 (patch)
tree75f3ce3026b9309f5f813e86cde7ee4e177b32bc /Lib/tempfile.py
parent8c6f189964a5e6875d59b519fad941c43c124103 (diff)
downloadcpython-350985da894dd7d6fb9f9a8ef7b2522cdb41a1e6.zip
cpython-350985da894dd7d6fb9f9a8ef7b2522cdb41a1e6.tar.gz
cpython-350985da894dd7d6fb9f9a8ef7b2522cdb41a1e6.tar.bz2
Issue #21515: Fix typo in a comment, thanks Arfrever for the report
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index b26e50e..5d9c719 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -505,7 +505,7 @@ else:
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.