[Python-Dev] Issue 6081: format string using mapping rather than kwargs (original) (raw)
Eric Smith eric at trueblade.com
Thu Mar 25 12:58:14 CET 2010
- Previous message: [Python-Dev] Issue 6081: format string using mapping rather than kwargs
- Next message: [Python-Dev] Issue 6081: format string using mapping rather than kwargs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Filip GruszczyĆski wrote:
From that spec, a straightforward API falls out:
def formatmapping(self, kwds): # Method body actually written in C, so it can # easily invoke the internal formatting operation return dostringformat(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.
- Previous message: [Python-Dev] Issue 6081: format string using mapping rather than kwargs
- Next message: [Python-Dev] Issue 6081: format string using mapping rather than kwargs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]