aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/locals.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/locals.scm')
-rw-r--r--queries/python/locals.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm
index 5cfd35435..7699a512e 100644
--- a/queries/python/locals.scm
+++ b/queries/python/locals.scm
@@ -34,11 +34,6 @@
(typed_default_parameter
(identifier) @definition.parameter)
-(with_statement
- (with_clause
- (with_item
- alias: (identifier) @definition.var)))
-
; *args parameter
(parameters
(list_splat_pattern
@@ -113,6 +108,8 @@
(named_expression
(identifier) @definition.var)
+(as_pattern
+ alias: (identifier) @definition.var)
;;; REFERENCES
(identifier) @reference