diff --git a/queries/python/tsetter.scm b/queries/python/tsetter.scm index dc5f099..077caa4 100644 --- a/queries/python/tsetter.scm +++ b/queries/python/tsetter.scm @@ -8,6 +8,15 @@ (identifier) @equals ) +;; For declarations using the 'self' keyword +;; Example: +;; self.x = 12 +(expression_statement + (attribute) @equals +) + + + ;; ==================== ;; Lists and Dicts ;; ====================