Function: python-info-looking-at-beginning-of-block
python-info-looking-at-beginning-of-block is a byte-compiled function
defined in python.el.gz.
Signature
(python-info-looking-at-beginning-of-block)
Documentation
Check if point is at the beginning of block.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-info-looking-at-beginning-of-block ()
"Check if point is at the beginning of block."
(let ((pos (point)))
(save-excursion
(python-nav-beginning-of-statement)
(beginning-of-line)
(and
(<= (point) pos (+ (point) (current-indentation)))
(looking-at python-nav-beginning-of-block-regexp)))))