No-brainer? Dictionary keys to variable name?

Mark McEahern marklists at mceahern.com
Thu Aug 1 16:31:23 EDT 2002


Instead of this:

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

try:

def runSearchTest(self, **kwargs):

// m





More information about the Python-list mailing list