(self, _comment: comment.Comment)
| 211 | return chain[0] |
| 212 | |
| 213 | def add_comment(self, _comment: comment.Comment) -> comment.Comment: |
| 214 | _comment.sprite = self |
| 215 | if _comment.id is None: |
| 216 | _comment.id = self.new_id |
| 217 | |
| 218 | self.comments.append(_comment) |
| 219 | _comment.link_using_sprite() |
| 220 | |
| 221 | return _comment |
| 222 | |
| 223 | def remove_block(self, _block: block.Block): |
| 224 | for key, val in self.blocks.items(): |
no test coverage detected