Skip to content

Commit 9c463ec

Browse files
Wolfgang Maiermethane
authored andcommitted
Update docstring of tempfile._RandomNameSequence (GH-6414)
When bpo-12015 got resolved by increasing the length of the random string generated by _RandomNameSequence from six to eight characters, the docstring of the class was not adjusted accordingly.
1 parent 46936d5 commit 9c463ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/tempfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def _sanitize_params(prefix, suffix, dir):
132132
class _RandomNameSequence:
133133
"""An instance of _RandomNameSequence generates an endless
134134
sequence of unpredictable strings which can safely be incorporated
135-
into file names. Each string is six characters long. Multiple
135+
into file names. Each string is eight characters long. Multiple
136136
threads can safely use the same instance at the same time.
137137
138138
_RandomNameSequence is an iterator."""

0 commit comments

Comments
 (0)