On 11/6/10 1:16 AM, Ezio Melotti wrote:
+.. method:: str.format_map(mapping)
+
+ Similar to ``str.forrmat(**mapping)``, except that ``mapping`` is
+ used directly and not copied to a :class:`dict` . This is useful
+ if for example ``mapping`` is a dict subclass.
Including the __missing__
On 11/6/10 6:43 AM, Eric Smith wrote:
On 11/6/10 1:16 AM, Ezio Melotti wrote:
issues with format_map documentation and docstrings for str.format and
str.format_map
I've addressed all of these issues, although if anyone has suggestions
for the docstrings or documentation they'd be
Author: eric.smith
Date: Thu Nov 4 18:06:58 2010
New Revision: 86170
Log:
Issue #6081: Add str.format_map. str.format_map(mapping) is similar to
str.format(**mapping), except mapping does not get converted to a dict.
Modified: python/branches/py3k/Doc/library/stdtypes.rst
According to #python-dev, there’s no need to go through
python-checkins/-dev for typos, so I fixed this one in r86247.
Piratical regards
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: