aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorPaul Eggert2011-05-17 17:39:40 -0700
committerPaul Eggert2011-05-17 17:39:40 -0700
commit7025ee00190a709853bf5b809bf86148efda3bc7 (patch)
treee1b861b3ea59872e652462289bb7f215d5cfbfbe /lisp/progmodes/python.el
parentd2d818bf00fa3a3204abd9b31103cfca21ff8125 (diff)
parent3870d303a44e14c460977c50473e5069742cd0b6 (diff)
downloademacs-7025ee00190a709853bf5b809bf86148efda3bc7.tar.gz
emacs-7025ee00190a709853bf5b809bf86148efda3bc7.zip
Merge from mainline.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index a7851c54356..67a51dfbeee 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -99,7 +99,9 @@
99 "import" "in" "is" "lambda" "not" "or" "pass" "print" 99 "import" "in" "is" "lambda" "not" "or" "pass" "print"
100 "raise" "return" "try" "while" "with" "yield" 100 "raise" "return" "try" "while" "with" "yield"
101 ;; Not real keywords, but close enough to be fontified as such 101 ;; Not real keywords, but close enough to be fontified as such
102 "self" "True" "False") 102 "self" "True" "False"
103 ;; Python 3
104 "nonlocal")
103 symbol-end) 105 symbol-end)
104 (,(rx symbol-start "None" symbol-end) ; see § Keywords in 2.7 manual 106 (,(rx symbol-start "None" symbol-end) ; see § Keywords in 2.7 manual
105 . font-lock-constant-face) 107 . font-lock-constant-face)