diff --git a/swh/objstorage/multiplexer/multiplexer_objstorage.py b/swh/objstorage/multiplexer/multiplexer_objstorage.py --- a/swh/objstorage/multiplexer/multiplexer_objstorage.py +++ b/swh/objstorage/multiplexer/multiplexer_objstorage.py @@ -39,8 +39,9 @@ mailbox (queue.Queue): explicit mailbox if the calling thread wants to override it. args, kwargs: arguments for the command. - Returns: queue.Queue - The mailbox you can read the response from + + Returns: + queue.Queue: The mailbox you can read the response from """ if not mailbox: mailbox = queue.Queue() @@ -67,7 +68,7 @@ def get_result_from_mailbox(mailbox, *args, **kwargs): """Unpack the result from the mailbox. - Arguments: + Args: mailbox (queue.Queue): A mailbox to unpack a result from args: positional arguments to :func:`mailbox.get` kwargs: keyword arguments to :func:`mailbox.get` @@ -77,7 +78,7 @@ Raises: either the exception we got back from the underlying storage, - or :exc:`queue.Empty` if :func:`mailbox.get` raises that. + or :exc:`queue.Empty` if :func:`mailbox.get` raises that. """ result = mailbox.get(*args, **kwargs)