From cf60f9de61a730aae6ab780c3def1aceb39342e2 2020-10-23 15:59:09 From: Matthias Bussonnier Date: 2020-10-23 15:59:09 Subject: [PATCH] try to fix test/building-docs --- diff --git a/docs/autogen_shortcuts.py b/docs/autogen_shortcuts.py index 2cd9019..38af9b1 100755 --- a/docs/autogen_shortcuts.py +++ b/docs/autogen_shortcuts.py @@ -41,12 +41,14 @@ def multi_filter_str(flt): log_filters = {'_AndList': 'And', '_OrList': 'Or'} log_invert = {'_Invert'} -class _DummyTerminal(object): +class _DummyTerminal: """Used as a buffer to get prompt_toolkit bindings """ handle_return = None input_transformer_manager = None display_completions = None + editing_mode = "emacs" + ipy_bindings = create_ipython_shortcuts(_DummyTerminal()).bindings