def interactive(f):
    f.__module__ = '__main__'
    return f
decorator for making functions appear as interactively defined.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/util.py/interactive