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 scoder
Recipients docs@python, scoder
Date 2013-02-15.13:20:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360934426.3.0.547345278452.issue17210@psf.upfronthosting.co.za>
In-reply-to
Content
The current documentation says:

"""
PyObject* PyUnicode_Format(PyObject *format, PyObject *args)
    Return value: New reference.

    Return a new string object from format and args; this is analogous to format % args. The args argument must be a tuple.
"""

According to the implementation, however, "args" can be a tuple, a unicode string, or an arbitrary mapping, i.e. everything that Python's "%" operator allows for strings as well.
History
Date User Action Args
2013-02-15 13:20:26scodersetrecipients: + scoder, docs@python
2013-02-15 13:20:26scodersetmessageid: <1360934426.3.0.547345278452.issue17210@psf.upfronthosting.co.za>
2013-02-15 13:20:26scoderlinkissue17210 messages
2013-02-15 13:20:26scodercreate