From 8299bf0501f59a4c2eb4446dd9ed8c7bae1419a8 Mon Sep 17 00:00:00 2001 From: Wolfgang Maier Date: Sat, 7 Apr 2018 23:28:18 +0200 Subject: [PATCH] Update docstring of tempfile._RandomNameSequence When issue 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. --- Lib/tempfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 71ecafa5305838..e5b7a92fad7bd3 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."""