> 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
> ==============================================================================
> --- python/branches/py3k/Doc/library/stdtypes.rst     (original)
> +++ python/branches/py3k/Doc/library/stdtypes.rst     Thu Nov  4 18:06:58 2010
> @@ -1038,6 +1038,14 @@
>     that can be specified in format strings.
>  
>  
> +.. method:: str.format_map(mapping)
> +
> +   Similar to ``str.forrmat(**mapping)``, except that ``mapping`` is

Yarrr me hearrties, it be forrrmat!

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to