Commits

Victor Stinner committed 8b93cdc

Issue #21515: Fix typo in a comment, thanks Arfrever for the report

  • Participants
  • Parent commits 1a5dbc9

Comments (0)

Files changed (1)

File Lib/tempfile.py

                 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.