python-indent-context

python-indent-context is a compiled Lisp function in `python.el'.

(python-indent-context)

Get information on indentation context.
Context information is returned with a cons with the form:
(STATUS . START)

Where status can be any of the following symbols:

* after-comment: When current line might continue a comment block
* inside-paren: If point in between (), {} or []
* inside-string: If point is inside a string
* after-backslash: Previous line ends in a backslash
* after-beginning-of-block: Point is after beginning of block
* after-line: Point is after normal line
* dedenter-statement: Point is on a dedenter statement.
* no-indent: Point is at beginning of buffer or other special case
START is the buffer position where the sexp starts.