aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/locals.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm
index 7699a512e..76a14fef5 100644
--- a/queries/python/locals.scm
+++ b/queries/python/locals.scm
@@ -109,7 +109,7 @@
(identifier) @definition.var)
(as_pattern
- alias: (identifier) @definition.var)
+ alias: (as_pattern_target) @definition.var)
;;; REFERENCES
(identifier) @reference