Skip to content

Commit 335efd7

Browse files
miss-islingtonWolfgang Maier
and
Wolfgang Maier
authored
Update docstring of tempfile._RandomNameSequence (pythonGH-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. (cherry picked from commit 9c463ec) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
1 parent 280a767 commit 335efd7

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
@@ -136,7 +136,7 @@ def _sanitize_params(prefix, suffix, dir):
136136
class _RandomNameSequence:
137137
"""An instance of _RandomNameSequence generates an endless
138138
sequence of unpredictable strings which can safely be incorporated
139-
into file names. Each string is six characters long. Multiple
139+
into file names. Each string is eight characters long. Multiple
140140
threads can safely use the same instance at the same time.
141141
142142
_RandomNameSequence is an iterator."""

0 commit comments

Comments
 (0)