def serialize(d):
    ret = {}
    for k,v in d.items():
        if not k.startswith('_'):
            ret[k] = str(d[k])
    #ret['__class__'] = obj.__class__.__name__
    return ret
Decorates functions and internationalize their code.
dataset/ETHPy150Open rsgalloway/grit/grit/util/util.py/serialize--crossover with--dataset/ETHPy150Open ProgVal/Limnoria/src/i18n.py/_PluginInternationalization.internationalizeFunction