(self, index, item, parent=None)
| 232 | # March 2026: In 0.5.3 and earlier, notification methods |
| 233 | # didn't start with 'source_' |
| 234 | def remove(self, index, item, parent=None): |
| 235 | import warnings |
| 236 | |
| 237 | warnings.warn( |
| 238 | "The remove() method is deprecated. Use source_remove() instead.", |
| 239 | DeprecationWarning, |
| 240 | stacklevel=1, |
| 241 | ) |
| 242 | self.source_remove(index=index, item=item, parent=parent) |
| 243 | |
| 244 | def source_remove(self, *, index, item, parent=None): |
| 245 | try: |
no test coverage detected