(lst, prev=object())
| 1356 | yield (line, end_line, col, end_col) |
| 1357 | |
| 1358 | def dedup(lst, prev=object()): |
| 1359 | for item in lst: |
| 1360 | if item != prev: |
| 1361 | yield item |
| 1362 | prev = item |
| 1363 | |
| 1364 | def lines_from_postions(positions): |
| 1365 | return dedup(l for (l, _, _, _) in positions) |
no outgoing calls
no test coverage detected