From ef565d4eacf7cd8d44b30ea64b5b006a88aff39a Mon Sep 17 00:00:00 2001 From: Noah Peart Date: Tue, 30 Apr 2024 03:19:11 -0700 Subject: [PATCH] Add bitwise assignment operators to 'python--treesit-operators' * lisp/progmodes/python.el (python--treesit-operators): Add bitwise assignment operators. (Bug#70666) (cherry picked from commit 08799957f0bade04a8f65a06dac1606346ee8733) --- lisp/progmodes/python.el | 6 +++--- 1 file 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__" -- 2.39.5