(self, value, *args)
Get stored value with optional default.
        Uses *args to allow the default to be None, but only the first item is used.
Get stored value with optional default.
        Uses *args to allow the default to be None, but only the first item is used.
Get stored value with optional default . Uses * args to allow the default to be None but only the first item is used .
def get(self, value, *args):
        """Get stored value with optional default.
        Uses *args to allow the default to be None, but only the first item is used.
        """
        try:
            return self._data.get(value, args[0])
        except IndexError:
            return self._data.get(value)
def get ( self , value , * args ) : try : return self . _data . get ( value , args [ 0 ] ) except IndexError : return self . _data . get ( value )