diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 37e0ccf7198..e720c6eb6a8 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -567,8 +567,14 @@ class declarations.") | |||
| 567 | "intern" | 567 | "intern" |
| 568 | ;; Python 3: | 568 | ;; Python 3: |
| 569 | "ascii" "breakpoint" "bytearray" "bytes" "exec" | 569 | "ascii" "breakpoint" "bytearray" "bytes" "exec" |
| 570 | ;; Extra: | 570 | ;; Special attributes: |
| 571 | "__all__" "__doc__" "__name__" "__package__") | 571 | ;; https://docs.python.org/3/reference/datamodel.html |
| 572 | "__annotations__" "__closure__" "__code__" | ||
| 573 | "__defaults__" "__dict__" "__doc__" "__globals__" | ||
| 574 | "__kwdefaults__" "__name__" "__module__" "__package__" | ||
| 575 | "__qualname__" | ||
| 576 | ;; Extras: | ||
| 577 | "__all__") | ||
| 572 | symbol-end) . font-lock-builtin-face)) | 578 | symbol-end) . font-lock-builtin-face)) |
| 573 | "Font lock keywords to use in python-mode for level 2 decoration. | 579 | "Font lock keywords to use in python-mode for level 2 decoration. |
| 574 | 580 | ||