def put_trace(f, trace):
    f.write(trace.tostring())
    return
A decorator that defines __unicode__ and __str__ methods under Python 2.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/put_trace--crossover with--dataset/ETHPy150Open divio/django-filer/filer/utils/compatibility.py/python_2_unicode_compatible