Function: semantic-python-special-p

semantic-python-special-p is a byte-compiled function defined in python.el.gz.

Signature

(semantic-python-special-p TAG)

Documentation

Return non-nil if the name of TAG is a special identifier of the form __NAME__.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
;;; Utility functions
;;

(defun semantic-python-special-p (tag)
  "Return non-nil if the name of TAG is a special identifier of
the form __NAME__. "
  (string-match
   (rx (seq string-start "__" (1+ (syntax symbol)) "__" string-end))
   (semantic-tag-name tag)))