(self, lineno, as_func=None)
| 48 | self.lines = {} |
| 49 | |
| 50 | def mark_line(self, lineno, as_func=None): |
| 51 | line = self.lines.setdefault(lineno, set()) |
| 52 | if as_func is not None: |
| 53 | as_func = as_func.split("'", 1)[0] |
| 54 | line.add(as_func) |
| 55 | |
| 56 | def write_text(self, fd): |
| 57 | with open(self.path, "r") as source: |
no test coverage detected