From 678d9834487d4f87235f92df89f2b8a03dd0a9f3 Mon Sep 17 00:00:00 2001 From: Wolfgang Maier Date: Mon, 9 Apr 2018 02:42:39 +0200 Subject: [PATCH] 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 --- Lib/tempfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 61462357c7283e..38738082b99656 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."""