Skip to content

Commit 13bb480

Browse files
python2
1 parent 97e6250 commit 13bb480

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
" ".join(word for word in word_list)
2+
---
3+
4+
[Content] =
5+
[Removal] = 0:9-0:35
6+
>--------------------------<
7+
0| " ".join(word for word in word_list)
8+
9+
[Domain] = 0:0-0:36
10+
>------------------------------------<
11+
0| " ".join(word for word in word_list)
12+
13+
[Insertion delimiter] = " "

queries/python.scm

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,16 @@
687687
)
688688
)
689689

690+
;;!! " ".join(word for word in word_list)
691+
;;!! ^^^^^^^^^^^^^^^^^^^^^^^^^^
692+
(call
693+
(generator_expression
694+
"(" @argumentOrParameter.iteration.start.endOf
695+
")" @argumentOrParameter.iteration.end.startOf
696+
) @argumentList
697+
(#child-range! @argumentList 1 -2)
698+
) @argumentList.domain @argumentOrParameter.iteration.domain
699+
690700
;;!! lambda a, b: pass
691701
;;! ^^^^
692702
(lambda
@@ -732,13 +742,6 @@
732742
")" @name.iteration.end.startOf @value.iteration.end.startOf
733743
) @name.iteration.domain @value.iteration.domain
734744

735-
(call
736-
(generator_expression
737-
"(" @argumentOrParameter.iteration.start.endOf
738-
")" @argumentOrParameter.iteration.end.startOf
739-
)
740-
) @argumentOrParameter.iteration.domain
741-
742745
operators: [
743746
"<"
744747
"<="

0 commit comments

Comments
 (0)