summaryrefslogtreecommitdiff
path: root/paramiko/transport.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-12 17:20:51 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-12 21:44:59 -0500
commit714350c4dd459577898d72a59edc3213a99443d6 (patch)
tree8244b90e69d635fc755bda80bda24cf7dc7eaffe /paramiko/transport.py
parent299556eebf3145019303278432e1fdb6cabb067e (diff)
downloadparamiko-714350c4dd459577898d72a59edc3213a99443d6.tar.gz
Start fixing up blatantly wrong-under-py3 docstring types
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 99a7bbc9..8c124403 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -343,7 +343,7 @@ class Transport(threading.Thread, ClosingContextManager):
If the object is not actually a socket, it must have the following
methods:
- - ``send(str)``: Writes from 1 to ``len(str)`` bytes, and returns an
+ - ``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