Feature request #7640
Make AutoIndentation possible in python console
|Pull Request or Patch supplied:||No||Resolution:|
It would be great to have auto indentation after ':' signs.
For example, the below snippet would fail.
lst = ['a','b','c','d'] for i in lst: print i File "<input>", line 2 print i ^ IndentationError: expected an indented block
To make it work, we need to add required spaces to indent the lines after the ':' sign
lst = ['a','b','c','d'] for i in lst: print i a b c d