docstrings

This commit is contained in:
Will McGugan
2023-04-09 20:20:38 +01:00
parent a729ee644c
commit 5f7a0beba4

View File

@@ -614,13 +614,13 @@ class MessagePump(metaclass=_MessagePumpMeta):
return self.post_message(message)
def post_message(self, message: Message) -> bool:
"""Posts a message on the queue.
"""Posts a message on to this widget's queue.
Args:
message: A message (or Event).
message: A message (including Event).
Returns:
True if the messages was processed, False if it wasn't.
`True` if the messages was processed, `False` if it wasn't.
"""
if self._closing or self._closed:
return False