Commit 63c4dce
authored
fix(python):fix class/function with decorator (#782)
If in the same file you have both class/function with decorator and
without it then move/select won't work for class/function without
decorator. I found this bug in the `main` branch, so maybe main problem
not in the query, but this fix works.1 parent 6f2dc7e commit 63c4dce
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
0 commit comments