The comments of an item (see ``BoxList.get_comment``), ``None`` for the document comments.
(self, key: Any = None)
| 146 | raise BoxKeyError(f"{key!r} is not in the frozen list, comments can only be attached to existing items") |
| 147 | |
| 148 | def get_comment(self, key: Any = None) -> dict | None: |
| 149 | """The comments of an item (see ``BoxList.get_comment``), ``None`` for the document comments.""" |
| 150 | return _comments.get_comment(self, key) |
| 151 | |
| 152 | def set_comment(self, key: Any, text: Any, position: str | None = None) -> None: |
| 153 | _comments.set_comment(self, key, text, position) |
nothing calls this directly
no test coverage detected