+2006-09-09 Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se> (tiny change)
+
+ * progmodes/python.el (python-font-lock-keywords): Add `self' and other
+ quasi-keywords.
+
2006-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/python.el: Quieten the compiler about hippie-expand vars.
"import" "in" "is" "lambda" "not" "or" "pass" "print"
"raise" "return" "try" "while" "yield"
;; Future keywords
- "as" "None")
+ "as" "None"
+ ;; Not real keywords, but close enough to be fontified as such
+ "self" "True" "False")
symbol-end)
;; Definitions
(,(rx symbol-start (group "class") (1+ space) (group (1+ (or word ?_))))