docs: fix :return: syntax.

wip-fakessh-exit-status
David Wilson 7 years ago
parent f1d82c7284
commit e9af841e60

@ -422,9 +422,9 @@ Context Class
:param mitogen.core.Message msg: :param mitogen.core.Message msg:
The message. The message.
:return mitogen.core.Receiver: :returns:
Receiver configured to receive any replies sent to the message's :py:class:`mitogen.core.Receiver` configured to receive any replies
`reply_to` handle. sent to the message's `reply_to` handle.
.. method:: send_await (msg, deadline=None) .. method:: send_await (msg, deadline=None)
@ -487,8 +487,9 @@ Context Class
:param dict kwargs: :param dict kwargs:
Function keyword arguments, if any. See :ref:`serialization-rules` Function keyword arguments, if any. See :ref:`serialization-rules`
for permitted types. for permitted types.
:return mitogen.core.Receiver: :returns:
A receiver configured to receive the result of the invocation: :py:class:`mitogen.core.Receiver` configured to receive the result
of the invocation:
.. code-block:: python .. code-block:: python
@ -503,7 +504,7 @@ Context Class
Equivalent to :py:meth:`call_async(fn, \*args, \**kwargs).get_data() Equivalent to :py:meth:`call_async(fn, \*args, \**kwargs).get_data()
<call_async>`. <call_async>`.
:return: :returns:
The function's return value. The function's return value.
:raises mitogen.core.CallError: :raises mitogen.core.CallError:

Loading…
Cancel
Save