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.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm
index 422e386cd..bc21637bb 100644
--- a/queries/python/locals.scm
+++ b/queries/python/locals.scm
@@ -45,8 +45,7 @@
; Function defines function and scope
((function_definition
- name: (identifier) @definition.function
- body: (block (expression_statement (string) @definition.doc)?)) @scope
+ name: (identifier) @definition.function) @scope
(#set! definition.function.scope "parent"))