python-indent-post-self-insert-function

python-indent-post-self-insert-function is a compiled Lisp function in `python.el'.

(python-indent-post-self-insert-function)

Adjust indentation after insertion of some characters.
This function is intended to be added to `post-self-insert-hook.'
If a line renders a paren alone, after adding a char before it,
the line will be re-indented automatically if needed.