From 743d4932492ea7cf31b8303d1d46fbc158be5656 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. --- 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 d6c29e5ffc6..fb76d0718ba 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1018,9 +1018,9 @@ python--treesit-constants "copyright" "credits" "exit" "license" "quit")) (defvar python--treesit-operators - '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "%" "%=" - "^" "+" "->" "+=" "<" "<<" "<=" "<>" "=" ":=" "==" ">" ">=" ">>" "|" - "~" "@" "@=")) + '("-" "-=" "!=" "*" "**" "**=" "*=" "/" "//" "//=" "/=" "&" "&=" "%" "%=" + "^" "^=" "+" "->" "+=" "<" "<<" "<<=" "<=" "<>" "=" ":=" "==" ">" ">=" + ">>" ">>=" "|" "|=" "~" "@" "@=")) (defvar python--treesit-special-attributes '("__annotations__" "__closure__" "__code__" -- 2.34.1