Function: python-util-forward-comment
python-util-forward-comment is a byte-compiled function defined in
python.el.gz.
Signature
(python-util-forward-comment &optional DIRECTION)
Documentation
Python mode specific version of forward-comment.
Optional argument DIRECTION defines the direction to move to.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defun python-util-forward-comment (&optional direction)
"Python mode specific version of `forward-comment'.
Optional argument DIRECTION defines the direction to move to."
(let ((comment-start (python-syntax-context 'comment))
(factor (if (< (or direction 0) 0)
-99999
99999)))
(when comment-start
(goto-char comment-start))
(forward-comment factor)))