Function: python-nav-forward-statement
python-nav-forward-statement is an interactive and byte-compiled
function defined in python.el.gz.
Signature
(python-nav-forward-statement &optional ARG)
Documentation
Move forward to next statement.
With ARG, repeat. With negative argument, move ARG times backward to previous statement.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-nav-forward-statement (&optional arg)
"Move forward to next statement.
With ARG, repeat. With negative argument, move ARG times
backward to previous statement."
(interactive "^p")
(or arg (setq arg 1))
(while (> arg 0)
(python-nav-end-of-statement)
(python-util-forward-comment)
(python-nav-beginning-of-statement)
(setq arg (1- arg)))
(while (< arg 0)
(python-nav-beginning-of-statement)
(python-util-forward-comment -1)
(python-nav-beginning-of-statement)
(setq arg (1+ arg))))