docs: tidy up Select.all()

This commit is contained in:
David Wilson 2019-08-08 20:08:51 +00:00
parent 5ae6f92177
commit 436a4b3b3c
1 changed files with 4 additions and 3 deletions

View File

@ -122,9 +122,10 @@ class Select(object):
@classmethod @classmethod
def all(cls, receivers): def all(cls, receivers):
""" """
Take an iterable of receivers and retrieve a :class:`Message` from Take an iterable of receivers and retrieve a :class:`Message
each, returning the result of calling `msg.unpickle()` on each in turn. <mitogen.core.Message>` from each, returning the result of calling
Results are returned in the order they arrived. :meth:`Message.unpickle() <mitogen.core.Message.unpickle>` on each in
turn. Results are returned in the order they arrived.
This is sugar for handling batch :meth:`Context.call_async This is sugar for handling batch :meth:`Context.call_async
<mitogen.parent.Context.call_async>` invocations: <mitogen.parent.Context.call_async>` invocations: