IPython banner: restore \n

This commit is contained in:
gpotter2 2023-11-22 21:54:22 +01:00 committed by GitHub
parent 83918924c3
commit 389cb53fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -843,9 +843,9 @@ def interact(mydict=None, argv=None, mybanner=None, loglevel=logging.INFO):
# Start IPython or ptipython
if conf.interactive_shell in ["ipython", "ptipython"]:
banner += "\n"
if conf.interactive_shell == "ptipython":
from ptpython.ipython import embed
banner += "\n"
else:
from IPython import start_ipython as embed
try: