From 350985da894dd7d6fb9f9a8ef7b2522cdb41a1e6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 9 Jun 2014 00:05:47 +0200 Subject: [PATCH] Issue #21515: Fix typo in a comment, thanks Arfrever for the report --- Lib/tempfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/tempfile.py b/Lib/tempfile.py index b26e50e8e4..5d9c719c7d 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. -- 2.50.1