From 6bfaa35a260eb2b34eb3df1cfac60817d035d277 2018-06-15 15:34:06 From: Yutao Yuan Date: 2018-06-15 15:34:06 Subject: [PATCH] Fix config option TerminalInteractiveShell.display_completions The extra comma in pt_complete_style() causes the option to be always recognized as "column", because it compares equal to none of the three values. --- diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index 9a4b4da..1124405 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -343,7 +343,7 @@ class TerminalInteractiveShell(InteractiveShell): 'multicolumn': CompleteStyle.MULTI_COLUMN, 'column': CompleteStyle.COLUMN, 'readlinelike': CompleteStyle.READLINE_LIKE, - }[self.display_completions], + }[self.display_completions] def _extra_prompt_options(self): """