Skip to content

Commit e4340a9

Browse files
authored
.
1 parent d716e3b commit e4340a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ Accessing arguments by position::
662662
'a, b, c'
663663
>>> '{2}, {1}, {0}'.format('a', 'b', 'c')
664664
'c, b, a'
665-
>>> '{2}, {1}, {0}'.format(*'abc') # unpacking argument sequence
665+
>>> '{2}, {1}, {0}'.format(*'abc') # unpacking argument list
666666
'c, b, a'
667667
>>> '{0}{1}{0}'.format('abra', 'cad') # arguments' indices can be repeated
668668
'abracadabra'

0 commit comments

Comments
 (0)