def map(self, val, classes):
        """ Checks if a val is of a type found in classes and 
        then creates the mapping between the id of the value and
        a tuple constisting of the value itself and the current time.
        """
        if val.__class__ in classes:
            vid = id(val)
            self.id2o[vid] = (val, time.time())
            val = vid
        return val
 Checks if a val is of a type found in classes and 
        then creates the mapping between the id of the value and
        a tuple constisting of the value itself and the current time.
        
recipes/Python/359874_xmlrpc_parameter_mapping_OOstyle/recipe-359874.py