correct indention of python code snippets