We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f566795 commit f9b8c74Copy full SHA for f9b8c74
lisp/progmodes/python.el
@@ -567,8 +567,14 @@ class declarations.")
567
"intern"
568
;; Python 3:
569
"ascii" "breakpoint" "bytearray" "bytes" "exec"
570
- ;; Extra:
571
- "__all__" "__doc__" "__name__" "__package__")
+ ;; Special attributes:
+ ;; 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__")
578
symbol-end) . font-lock-builtin-face))
579
"Font lock keywords to use in python-mode for level 2 decoration.
580
0 commit comments