Skip to content

Commit b16524a

Browse files
Clarify comment on temporary file conflict chances
Updated comment for clarity on temporary file conflict probability.
1 parent 0d0b009 commit b16524a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/tempfile.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@
5858
_bin_openflags |= _os.O_BINARY
5959

6060
# This is more than enough.
61-
# Each name contains more than 40 random bits. Even with a million of
62-
# temporary files, a chance of conflict is less than 1 per million,
63-
# and with 20 attempts it is less than 1e-120.
6461
# Each name contains over 40 random bits. Even with a million temporary
6562
# files, the chance of a conflict is less than 1 in a million, and with
6663
# 20 attempts, it is less than 1e-120.

0 commit comments

Comments
 (0)