diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index ebee703499a..0e0898ffe28 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -993,7 +993,8 @@ It makes underscores and dots word constituent chars.") (defvar python--treesit-operators '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "%" "%=" - "^" "+" "+=" "<" "<<" "<=" "<>" "=" "==" ">" ">=" ">>" "|" "~" "@" "@=")) + "^" "+" "->" "+=" "<" "<<" "<=" "<>" "=" ":=" "==" ">" ">=" ">>" "|" + "~" "@" "@=")) (defvar python--treesit-special-attributes '("__annotations__" "__closure__" "__code__"