(lst, prev=object())
| 1359 | yield (line, end_line, col, end_col) |
| 1360 | |
| 1361 | def dedup(lst, prev=object()): |
| 1362 | for item in lst: |
| 1363 | if item != prev: |
| 1364 | yield item |
| 1365 | prev = item |
| 1366 | |
| 1367 | def lines_from_postions(positions): |
| 1368 | return dedup(l for (l, _, _, _) in positions) |
no outgoing calls
no test coverage detected
searching dependent graphs…