Function: python-info-current-line-empty-p

python-info-current-line-empty-p is a byte-compiled function defined in python.el.gz.

Signature

(python-info-current-line-empty-p)

Documentation

Return non-nil if current line is empty, ignoring whitespace.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-info-current-line-empty-p ()
  "Return non-nil if current line is empty, ignoring whitespace."
  (save-excursion
    (beginning-of-line 1)
    (looking-at
     (python-rx line-start (* whitespace)
                (group (* not-newline))
                (* whitespace) line-end))
    (string-equal "" (match-string-no-properties 1))))