(contents: str)
| 222 | |
| 223 | |
| 224 | def iter_patches(contents: str) -> "Iterator[PatchEntry]": |
| 225 | lines = contents.splitlines() |
| 226 | tree = ast.parse(contents) |
| 227 | yield from PatchEntry.iter_patch_entries(tree, lines) |
| 228 | |
| 229 | |
| 230 | def build_patch_dict(it: "Iterator[PatchEntry]") -> Patches: |
no test coverage detected