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.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm
index 1deca18c9..7ff07957c 100644
--- a/queries/python/locals.scm
+++ b/queries/python/locals.scm
@@ -29,6 +29,10 @@
(typed_default_parameter
(identifier) @definition.var)
+(with_statement
+ (with_item
+ alias: (identifier) @definition.var))
+
; *args parameter
(parameters
(list_splat