From 67ee4418d7104144d155b6b0135c2bcdcd529849 2019-12-04 17:19:31 From: Matthias Bussonnier Date: 2019-12-04 17:19:31 Subject: [PATCH] Backport PR #12003: bugfix for 7.10.1: revert inputhook param location --- diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index 26188ae..e9ba812 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -438,7 +438,7 @@ class TerminalInteractiveShell(InteractiveShell): Condition(lambda: self.highlight_matching_brackets))], } if not PTK3: - options['inputhook'] = self.inputhook + options['inputhook'] = self.shell.inputhook return options