aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el29
1 files changed, 14 insertions, 15 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 92cdd35d90a..851c7fe28c0 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -352,21 +352,20 @@
352 "UserWarning" "ValueError" "Warning" "ZeroDivisionError") 352 "UserWarning" "ValueError" "Warning" "ZeroDivisionError")
353 symbol-end) . font-lock-type-face) 353 symbol-end) . font-lock-type-face)
354 ;; Builtins 354 ;; Builtins
355 (,(rx (or line-start (not (any ". \t"))) (* (any " \t")) symbol-start 355 (,(rx symbol-start
356 (group 356 (or "_" "__doc__" "__import__" "__name__" "__package__" "abs" "all"
357 (or "_" "__doc__" "__import__" "__name__" "__package__" "abs" "all" 357 "any" "apply" "basestring" "bin" "bool" "buffer" "bytearray"
358 "any" "apply" "basestring" "bin" "bool" "buffer" "bytearray" 358 "bytes" "callable" "chr" "classmethod" "cmp" "coerce" "compile"
359 "bytes" "callable" "chr" "classmethod" "cmp" "coerce" "compile" 359 "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval"
360 "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" 360 "execfile" "file" "filter" "float" "format" "frozenset"
361 "execfile" "file" "filter" "float" "format" "frozenset" 361 "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input"
362 "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input" 362 "int" "intern" "isinstance" "issubclass" "iter" "len" "list"
363 "int" "intern" "isinstance" "issubclass" "iter" "len" "list" 363 "locals" "long" "map" "max" "min" "next" "object" "oct" "open"
364 "locals" "long" "map" "max" "min" "next" "object" "oct" "open" 364 "ord" "pow" "print" "property" "range" "raw_input" "reduce"
365 "ord" "pow" "print" "property" "range" "raw_input" "reduce" 365 "reload" "repr" "reversed" "round" "set" "setattr" "slice"
366 "reload" "repr" "reversed" "round" "set" "setattr" "slice" 366 "sorted" "staticmethod" "str" "sum" "super" "tuple" "type"
367 "sorted" "staticmethod" "str" "sum" "super" "tuple" "type" 367 "unichr" "unicode" "vars" "xrange" "zip")
368 "unichr" "unicode" "vars" "xrange" "zip")) symbol-end) 368 symbol-end) . font-lock-builtin-face)
369 (1 font-lock-builtin-face))
370 ;; asignations 369 ;; asignations
371 ;; support for a = b = c = 5 370 ;; support for a = b = c = 5
372 (,(lambda (limit) 371 (,(lambda (limit)