No-brainer? Dictionary keys to variable name?

Mark McEahern marklists at mceahern.com
Thu Aug 1 22:31:23 CEST 2002


Instead of this:

>     def runSearchTest(self, oneTest={}):

try:

def runSearchTest(self, **kwargs):

// m





More information about the Python-list mailing list