removed cruft

This commit is contained in:
Will McGugan
2022-08-17 09:33:46 +01:00
parent 40374984ed
commit 4b596352d9
4 changed files with 19 additions and 11 deletions

View File

@@ -130,10 +130,6 @@ class MessagePump(metaclass=MessagePumpMeta):
"""
self._parent = parent
def _detach(self) -> None:
"""Unset the parent, removing it from the tree."""
self._parent = None
def check_message_enabled(self, message: Message) -> bool:
return type(message) not in self._disabled_messages