A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-March/098876.html below:

format string using mapping rather than kwargs

[Python-Dev] Issue 6081: format string using mapping rather than kwargs [Python-Dev] Issue 6081: format string using mapping rather than kwargsEric Smith eric at trueblade.com
Thu Mar 25 12:58:14 CET 2010
Filip GruszczyƄski wrote:
>> 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.

I think this is basically my patch, with the method renamed, and needing 
tests.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4