Skip to content

Commit

Permalink
Make ipapp.py unrunnable as one py file, due to relative import in …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
aueam committed Sep 28, 2023
1 parent 3df4946 commit 0e53f60
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions IPython/terminal/ipapp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# encoding: utf-8
"""
The :class:`~traitlets.config.application.Application` object for the command
Expand Down Expand Up @@ -337,7 +336,3 @@ def load_default_config(ipython_dir=None):
return app.config

launch_new_instance = TerminalIPythonApp.launch_instance


if __name__ == '__main__':
launch_new_instance()

0 comments on commit 0e53f60

Please sign in to comment.