]> granicus.if.org Git - python/commitdiff
Issue #21515: Fix typo in a comment, thanks Arfrever for the report
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 8 Jun 2014 22:05:47 +0000 (00:05 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 8 Jun 2014 22:05:47 +0000 (00:05 +0200)
Lib/tempfile.py

index b26e50e8e427a0dcba8295562964ae72dab7d7df..5d9c719c7d69b210504382a3e84cff1af736a2ab 100644 (file)
@@ -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.