verdict.py
def apply( self, fn, *args, **kwargs ):
        '''Apply some function to each item in the smart dictionary, and
        return the results as a Dict.
        '''

        results = {}

        for key, item in self.items():
            results[key] = fn( item, *args, **kwargs )

        return Dict( results )
Apply some function to each item in the smart dictionary, and
        return the results as a Dict.
        
Apply some function to each item in the smart dictionary, and
return the results as a Dict.
Apply some function to each item in the smart dictionary and return the results as a Dict .
def apply( self, fn, *args, **kwargs ):
        results = {}
        for key, item in self.items():
            results[key] = fn( item, *args, **kwargs )
        return Dict( results )
def apply ( self , fn , * args , ** kwargs ) : results = { } for key , item in self . items ( ) : results [ key ] = fn ( item , * args , ** kwargs ) return Dict ( results )
Apply some function to each item in the smart dictionary, and
return the results as a Dict.
Apply some function to each item in the smart dictionary and return the results as a Dict .
'''Apply some function to each item in the smart dictionary, and
        return the results as a Dict.
        '''
self
fn