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'