Пример #1
0
def newdata_to_olddata(o):
    """Given o, an object subclassed from a builtin type with no attributes,
    return a tuple containing the raw data and a string containing
    a tag to save in the extra= field"""
    return (getCoreData(o), "%s %s" % (_module(o), _klass(o)))
Пример #2
0
def newdata_to_olddata(o):
    """Given o, an object subclassed from a builtin type with no attributes,
    return a tuple containing the raw data and a string containing
    a tag to save in the extra= field"""
    return (getCoreData(o),"%s %s"%(_module(o),_klass(o)))