Function: python-info-assignment-continuation-line-p

python-info-assignment-continuation-line-p is a byte-compiled function defined in python.el.gz.

Signature

(python-info-assignment-continuation-line-p)

Documentation

Check if current line is the first continuation of an assignment.

When current line is continuation of another with an assignment return the point of the first non-blank character after the operator.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
;; TODO: rename to clarify this is only for the first continuation
;; line or remove it and move its body to `python-indent-context'.
(defun python-info-assignment-continuation-line-p ()
  "Check if current line is the first continuation of an assignment.
When current line is continuation of another with an assignment
return the point of the first non-blank character after the
operator."
  (save-excursion
    (when (python-info-continuation-line-p)
      (forward-line -1)
      (python-info-assignment-statement-p t))))