##// END OF EJS Templates
fix tb_offset when running a file...
fix tb_offset when running a file either with %run or via `ipython script.py` since we wrap execfile, the tb_offset needs to be 2 instead of the default (1). closes #4835

File last commit:

r14009:6f019b30
r14730:75618df3
Show More
__main__.py
3 lines | 109 B | text/x-python | PythonLexer
MinRK
add `python -m` entry points for everything
r14009 if __name__ == '__main__':
from IPython.kernel.zmq import kernelapp as app
app.launch_new_instance()