Skip to content

Commit dbb969c

Browse files
committed
Update python
1 parent 4e48c79 commit dbb969c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

queries/python/highlights.scm

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,12 @@
4747
(list_splat (identifier) @variable.parameter)
4848
(dictionary_splat (identifier) @variable.parameter)])
4949

50-
(for_statement (variables (identifier) @variable))
51-
(for_in_clause (variables (identifier) @variable))
50+
(for_statement
51+
left: [(identifier) @variable
52+
(tuple_pattern (identifier) @variable)])
53+
(for_in_clause
54+
left: [(identifier) @variable
55+
(tuple_pattern (identifier) @variable)])
5256

5357
(named_expression name: (identifier) @variable)
5458

0 commit comments

Comments
 (0)