summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index a767ac6230c..a5cab4a07e5 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -720,7 +720,7 @@ class declarations.")
"reload" "unichr" "unicode" "xrange" "apply" "buffer" "coerce"
"intern"
;; Python 3:
- "ascii" "breakpoint" "bytearray" "bytes" "exec"
+ "aiter" "anext" "ascii" "breakpoint" "bytearray" "bytes" "exec"
;; Special attributes:
;; https://docs.python.org/3/reference/datamodel.html
"__annotations__" "__closure__" "__code__"
@@ -1018,7 +1018,7 @@ It makes underscores and dots word constituent chars.")
(defvar python--treesit-builtins
(append python--treesit-builtin-types
- '("abs" "all" "any" "ascii" "bin" "breakpoint"
+ '("abs" "aiter" "all" "anext" "any" "ascii" "bin" "breakpoint"
"callable" "chr" "classmethod" "compile"
"delattr" "dir" "divmod" "enumerate" "eval" "exec"
"filter" "format" "getattr" "globals"