fix docstrings

This commit is contained in:
lla-dane
2025-06-28 09:06:18 +05:30
parent 4df454ebdc
commit fee4208d89
2 changed files with 3 additions and 6 deletions

View File

@ -58,8 +58,7 @@ class Multiselect(IMultiselectMuxer):
Negotiate performs protocol selection.
:param stream: stream to negotiate on
:param negotiate_timeout: timeout for negotiation,
defaults to DEFAULT_NEGOTIATE_TIMEOUT
:param negotiate_timeout: timeout for negotiation
:return: selected protocol name, handler function
:raise MultiselectError: raised when negotiation failed
"""

View File

@ -63,8 +63,7 @@ class MultiselectClient(IMultiselectClient):
:param protocol: protocol to select
:param communicator: communicator to use to communicate with counterparty
:param negotiate_timeout: timeout for negotiation,
defaults to DEFAULT_NEGOTIATE_TIMEOUT
:param negotiate_timeout: timeout for negotiation
:return: selected protocol
:raise MultiselectClientError: raised when protocol negotiation failed
"""
@ -97,8 +96,7 @@ class MultiselectClient(IMultiselectClient):
:param communicator: communicator to use to communicate with counterparty
:param command: supported multistream-select command(e.g., ls)
:param negotiate_timeout: timeout for negotiation,
defaults to DEFAULT_NEGOTIATE_TIMEOUT
:param negotiate_timeout: timeout for negotiation
:raise MultiselectClientError: If the communicator fails to process data.
:return: list of strings representing the response from peer.
"""