Function: python-syntax-comment-or-string-p

python-syntax-comment-or-string-p is a byte-compiled function defined in python.el.gz.

Signature

(python-syntax-comment-or-string-p &optional PPSS)

Documentation

Return non-nil if PPSS is inside comment or string.

Aliases

python-info-ppss-comment-or-string-p (obsolete since 24.3)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defsubst python-syntax-comment-or-string-p (&optional ppss)
  "Return non-nil if PPSS is inside comment or string."
  (nth 8 (or ppss (syntax-ppss))))