Filip Gruszczyński <grusz...@gmail.com> added the comment:

I have created a small patch, that adds method that formats using a dict. It's 
the first time I have written anything in python implementation, so I would 
very appreciate any advice. Change allows the following:

>>> m = Mapping(a='b')
>>> '{a} {c}'.format_using_mapping(m)
'b c'
>>>

----------
keywords: +patch
nosy: +gruszczy
Added file: http://bugs.python.org/file16576/6081_1.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6081>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to