summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>2018-04-09 02:42:39 +0200
committerINADA Naoki <methane@users.noreply.github.com>2018-04-09 09:42:39 +0900
commit9c463ec88ba21764f6fff8e01d6045a932a89438 (patch)
treec76862bba5b6ad2ebaf0264912a33900b6dec8b4
parent46936d5a71d1683dbd8ddb6d7f39aab50ecfec50 (diff)
downloadcpython-git-9c463ec88ba21764f6fff8e01d6045a932a89438.tar.gz
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.
-rw-r--r--Lib/tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 71ecafa530..e5b7a92fad 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -132,7 +132,7 @@ def _sanitize_params(prefix, suffix, dir):
class _RandomNameSequence:
"""An instance of _RandomNameSequence generates an endless
sequence of unpredictable strings which can safely be incorporated
- into file names. Each string is six characters long. Multiple
+ into file names. Each string is eight characters long. Multiple
threads can safely use the same instance at the same time.
_RandomNameSequence is an iterator."""