summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-02-20 11:03:29 -0800
committerJeff Forcier <jeff@bitprophet.org>2017-02-20 11:03:29 -0800
commit1d8f803f8d4d860c968682a527273760bec04778 (patch)
treef4fe1be50c77d36e7ef949c260656466b8f9c6dd
parent56c09ba0be8db847598646674d2068ab4c64c050 (diff)
Not sure how these snuck back in
-rw-r--r--paramiko/message.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/paramiko/message.py b/paramiko/message.py
index 9cc23712..36d0cbcd 100644
--- a/paramiko/message.py
+++ b/paramiko/message.py
@@ -144,9 +144,6 @@ class Message (object):
def get_int(self):
"""
Fetch an int from the stream.
-
- @return: a 32-bit unsigned integer.
- @rtype: int
"""
return struct.unpack('>I', self.get_bytes(4))[0]
@@ -179,9 +176,6 @@ class Message (object):
Fetch a string from the stream. This could be a byte string and may
contain unprintable characters. (It's not unheard of for a string to
contain another byte-stream Message.)
-
- @return: a string.
- @rtype: string
"""
return u(self.get_bytes(self.get_int()))
@@ -190,9 +184,6 @@ class Message (object):
Fetch a string from the stream. This could be a byte string and may
contain unprintable characters. (It's not unheard of for a string to
contain another byte-stream Message.)
-
- @return: a string.
- @rtype: string
"""
return self.get_bytes(self.get_int())