(self)
return self.__dict__.copy()
Dict version of this object
Dict version of this object
Dict version of this object
def as_dict(self):
        """Dict version of this object
        """
        # WARNING: we have to send a copy, otherwise changing the dict
        # changes the object!
        # FIXME: this returns no keys for keys whose value is None!
        return self.__dict__.copy()
def as_dict ( self ) : # WARNING: we have to send a copy, otherwise changing the dict # changes the object! # FIXME: this returns no keys for keys whose value is None! return self . __dict__ . copy ( )