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 25, 2023
1 parent 3df4946 commit cddd4bc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 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 @@ -335,9 +334,3 @@ def load_default_config(ipython_dir=None):
app.config_file_paths.append(profile_dir)
app.load_config_file()
return app.config

launch_new_instance = TerminalIPythonApp.launch_instance


if __name__ == '__main__':
launch_new_instance()

0 comments on commit cddd4bc

Please sign in to comment.