This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dlfjessup
Recipients dlfjessup, georg.brandl
Date 2008-11-09.01:28:21
SpamBayes Score 0.0024774782
Marked as misclassified No
Message-id <1226194105.16.0.0970163310493.issue4286@psf.upfronthosting.co.za>
In-reply-to
Content
In the documentation for Format Strings
(http://docs.python.org/dev/3.0/library/string.html#formatstrings), the
grammar has the following rule:

> conversion        ::=  "r" | "s"

However, the documentation later reads:

> Three conversion flags are currently supported: '!s' which calls str()
on the value, '!r' which calls repr() and '!a' which calls ascii().

This implies that the correct rule for the grammar is:

> conversion        ::=  "a" | "r" | "s"
History
Date User Action Args
2008-11-09 01:28:25dlfjessupsetrecipients: + dlfjessup, georg.brandl
2008-11-09 01:28:25dlfjessupsetmessageid: <1226194105.16.0.0970163310493.issue4286@psf.upfronthosting.co.za>
2008-11-09 01:28:23dlfjessuplinkissue4286 messages
2008-11-09 01:28:22dlfjessupcreate