Variable: python-font-lock-keywords-level-1
python-font-lock-keywords-level-1 is a variable defined in
python.el.gz.
Value
(("\\_<def[[:space:]]+\\([_[:alpha:]][_[:word:]]*\\)"
(1 font-lock-function-name-face))
("\\_<class[[:space:]]+\\([_[:alpha:]][_[:word:]]*\\)"
(1 font-lock-type-face)))
Documentation
Font lock keywords to use in python-mode for level 1 decoration.
This is the minimum decoration level, including function and class declarations.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defvar python-font-lock-keywords-level-1
`((,(python-rx symbol-start "def" (1+ space) (group symbol-name))
(1 font-lock-function-name-face))
(,(python-rx symbol-start "class" (1+ space) (group symbol-name))
(1 font-lock-type-face)))
"Font lock keywords to use in `python-mode' for level 1 decoration.
This is the minimum decoration level, including function and
class declarations.")