fix docstrings

This commit is contained in:
lla-dane
2025-06-28 09:01:12 +05:30
parent 715e528a56
commit 4df454ebdc
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -63,6 +63,8 @@ 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
:return: selected protocol
:raise MultiselectClientError: raised when protocol negotiation failed
"""