diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-13 01:51:49 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-13 01:51:49 -0500 |
commit | 8ca90637b56710c1141b7786032b0b35dadc9935 (patch) | |
tree | 423d7bb0923e46039603f6cafbf35c411c5f84fc /paramiko/transport.py | |
parent | b7052c5f520f272cf8217cb23fca2ddd1c6fcec4 (diff) | |
download | paramiko-8ca90637b56710c1141b7786032b0b35dadc9935.tar.gz |
flake8/black
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r-- | paramiko/transport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index 8c124403..6097fc29 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -343,8 +343,8 @@ class Transport(threading.Thread, ClosingContextManager): If the object is not actually a socket, it must have the following methods: - - ``send(bytes)``: Writes from 1 to ``len(bytes)`` bytes, and returns an - int representing the number of bytes written. Returns + - ``send(bytes)``: Writes from 1 to ``len(bytes)`` bytes, and returns + an int representing the number of bytes written. Returns 0 or raises ``EOFError`` if the stream has been closed. - ``recv(int)``: Reads from 1 to ``int`` bytes and returns them as a string. Returns 0 or raises ``EOFError`` if the stream has been |