ansible: more docstring fixes.

This commit is contained in:
David Wilson 2018-04-09 03:07:21 +01:00
parent 135b3738ba
commit 6a4ce84c6b
1 changed files with 7 additions and 8 deletions

View File

@ -81,14 +81,13 @@ class ContextService(mitogen.service.DeduplicatingService):
Return a Context referring to an established connection with the given
configuration, establishing a new connection as necessary.
:param dict dct:
Parameters passed to `mitogen.master.Router.[method]()`.
* The `method` key is popped from the dictionary and used to look
up the Mitogen connection method.
* The `discriminator` key is mixed into the key used to select an
existing connection, but popped from the list of arguments passed
to the connection method.
:param str method_name:
The :class:`mitogen.parent.Router` connection method to use.
:param discriminator:
Mixed into the key used to select an existing connection, to allow
intentional duplicate connections to be created.
:param dict kwargs:
Keyword arguments passed to `mitogen.master.Router.[method_name]()`.
:returns tuple:
Tuple of `(context, home_dir)`, where: