Attach a comment and add it to the sprite.
(self, _comment: comment.Comment)
| 107 | return self |
| 108 | |
| 109 | def set_comment(self, _comment: comment.Comment) -> Self: |
| 110 | """ |
| 111 | Attach a comment and add it to the sprite. |
| 112 | """ |
| 113 | _comment.block = self |
| 114 | self.sprite.add_comment(_comment) |
| 115 | |
| 116 | return self |
| 117 | |
| 118 | def check_toplevel(self): |
| 119 | """ |
nothing calls this directly
no test coverage detected