summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Peart <noah.v.peart@gmail.com>2024-04-30 03:19:11 -0700
committerEli Zaretskii <eliz@gnu.org>2024-05-09 10:42:34 +0300
commit08799957f0bade04a8f65a06dac1606346ee8733 (patch)
treee607ef9cf0b0cbfda2c3ec2fe5df5a2768a2ce45
parent58a7b99823c5c42161e9acf2abf6c22afd4da4cd (diff)
downloademacs-08799957f0bade04a8f65a06dac1606346ee8733.tar.gz
Add bitwise assignment operators to 'python--treesit-operators'
* lisp/progmodes/python.el (python--treesit-operators): Add bitwise assignment operators. (Bug#70666)
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 764ef03da8a..0bee98871e4 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1022,9 +1022,9 @@ It makes underscores and dots word constituent chars.")
"copyright" "credits" "exit" "license" "quit"))
(defvar python--treesit-operators
- '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "%" "%="
- "^" "+" "->" "+=" "<" "<<" "<=" "<>" "=" ":=" "==" ">" ">=" ">>" "|"
- "~" "@" "@="))
+ '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "&=" "%" "%="
+ "^" "^=" "+" "->" "+=" "<" "<<" "<<=" "<=" "<>" "=" ":=" "==" ">" ">="
+ ">>" ">>=" "|" "|=" "~" "@" "@="))
(defvar python--treesit-special-attributes
'("__annotations__" "__closure__" "__code__"