From e4340a94d087337f32d0ddc474e70884f72b8278 Mon Sep 17 00:00:00 2001 From: zhangenming <282126346@qq.com> Date: Wed, 10 Dec 2025 11:46:28 +0800 Subject: [PATCH] . --- Doc/library/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 58c836c7382330..dae2c5aea7f097 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -662,7 +662,7 @@ Accessing arguments by position:: 'a, b, c' >>> '{2}, {1}, {0}'.format('a', 'b', 'c') 'c, b, a' - >>> '{2}, {1}, {0}'.format(*'abc') # unpacking argument sequence + >>> '{2}, {1}, {0}'.format(*'abc') # unpacking argument list 'c, b, a' >>> '{0}{1}{0}'.format('abra', 'cad') # arguments' indices can be repeated 'abracadabra'