How to change `IPython.terminal.shortcuts.newline_autoindent` to 2 extra spaces?
sci-42ver opened this issue · comments
In the doc, it says
That is to say, indent by 4 extra space after a function definition, class definition, context manager
Then in ipython
, for example when I write one for
loop when pressing enter after for ...:
, then 4 extra spaces will be inserted. Is there one way to change this behavior to 2 spaces?