Function: semantic-python-private-p

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

Signature

(semantic-python-private-p TAG)

Documentation

Return non-nil if the name of TAG follows the convention _NAME for private names.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
(defun semantic-python-private-p (tag)
  "Return non-nil if the name of TAG follows the convention _NAME
for private names."
  (string-match
   (rx (seq string-start "_" (0+ (syntax symbol)) string-end))
   (semantic-tag-name tag)))