(self, matches_start_func=None, matches_end_func=None)
| 32 | |
| 33 | class Marker: |
| 34 | def __init__(self, matches_start_func=None, matches_end_func=None): |
| 35 | self.matches_start = util.default(matches_start_func, lambda line: line == self.start) |
| 36 | self.matches_end = util.default(matches_end_func, lambda line: line == self.end) |
| 37 | |
| 38 | @staticmethod |
| 39 | def from_name(name): |