diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-04-09 01:26:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 01:26:56 (GMT) |
commit | 335efd7c252799eeeb8cbf51d178b1b897a91ae2 (patch) | |
tree | de9b1996c4fcf2c3a6653a18d6ddc2300765f8da /Lib/tempfile.py | |
parent | 280a767d02c778a33ffb3347ac7cb89b35e41c51 (diff) | |
download | cpython-335efd7c252799eeeb8cbf51d178b1b897a91ae2.zip cpython-335efd7c252799eeeb8cbf51d178b1b897a91ae2.tar.gz cpython-335efd7c252799eeeb8cbf51d178b1b897a91ae2.tar.bz2 |
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.
(cherry picked from commit 9c463ec88ba21764f6fff8e01d6045a932a89438)
Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r-- | Lib/tempfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 6146235..3873808 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -136,7 +136,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.""" |