(self, filename, lineno, msgid_plural=None, *,
is_docstring=False, comments=None)
| 429 | comments: list[str] = field(default_factory=list) |
| 430 | |
| 431 | def add_location(self, filename, lineno, msgid_plural=None, *, |
| 432 | is_docstring=False, comments=None): |
| 433 | if self.msgid_plural is None: |
| 434 | self.msgid_plural = msgid_plural |
| 435 | self.locations.add(Location(filename, lineno)) |
| 436 | self.is_docstring |= is_docstring |
| 437 | if comments: |
| 438 | self.comments.extend(comments) |
| 439 | |
| 440 | |
| 441 | def get_source_comments(source): |
no test coverage detected