[Python-Dev] Issue 6081: format string using mapping rather than kwargs

Filip GruszczyƄski gruszczy at gmail.com
Thu Mar 25 12:48:28 CET 2010


> From that spec, a straightforward API falls out:
>
>    def format_mapping(self, kwds):
>      # Method body actually written in C, so it can
>      # easily invoke the internal formatting operation
>      return do_string_format(self, NULL, kwds)

Thanks a lot for the advice, I'll provide according patch hopefully in
the few days.

-- 
Filip GruszczyƄski


More information about the Python-Dev mailing list