Function: python-info-beginning-of-backslash

python-info-beginning-of-backslash is a byte-compiled function defined in python.el.gz.

Signature

(python-info-beginning-of-backslash &optional LINE-NUMBER)

Documentation

Return the point where the backslashed line starts.

Optional argument LINE-NUMBER forces the line number to check against.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-info-beginning-of-backslash (&optional line-number)
  "Return the point where the backslashed line starts.
Optional argument LINE-NUMBER forces the line number to check against."
  (save-excursion
      (when line-number
        (python-util-goto-line line-number))
      (when (python-info-line-ends-backslash-p)
        (while (save-excursion
                 (goto-char (line-beginning-position))
                 (python-syntax-context 'paren))
          (forward-line -1))
        (back-to-indentation)
        (point-marker))))