Skip to content

Commit 3c4121f

Browse files
authored
Make ipapp.py unrunnable as one py file, due to relative import (#14172)
fixes #14159
2 parents b6d55c2 + 0e53f60 commit 3c4121f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

IPython/terminal/ipapp.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
# encoding: utf-8
32
"""
43
The :class:`~traitlets.config.application.Application` object for the command
@@ -337,7 +336,3 @@ def load_default_config(ipython_dir=None):
337336
return app.config
338337

339338
launch_new_instance = TerminalIPythonApp.launch_instance
340-
341-
342-
if __name__ == '__main__':
343-
launch_new_instance()

0 commit comments

Comments
 (0)