[issue10873] String formatting example invalid
New submission from Ashwin Purohit
print 'We are the {} who say "{}!"'.format('knights', 'Ni') We are the knights who say "Ni!"
Now, all brackets have to have a numeric or keyword argument.
----------
assignee: docs@python
components: Documentation
messages: 125838
nosy: doagie, docs@python
priority: normal
severity: normal
status: open
title: String formatting example invalid
type: behavior
versions: Python 2.7
_______________________________________
Python tracker
SilentGhost
Ashwin Purohit
Eric Smith
Changes by Éric Araujo
participants (4)
-
Ashwin Purohit
-
Eric Smith
-
SilentGhost
-
Éric Araujo