summaryrefslogtreecommitdiff
path: root/paramiko/message.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-02-20 11:03:45 -0800
committerJeff Forcier <jeff@bitprophet.org>2017-02-20 11:03:45 -0800
commitd6c5edf810a35e0441892c12161a3aeffe7eb1b4 (patch)
tree53dd5741b2a1762eaf5096a3e8b959e14fece366 /paramiko/message.py
parent1d8f803f8d4d860c968682a527273760bec04778 (diff)
downloadparamiko-d6c5edf810a35e0441892c12161a3aeffe7eb1b4.tar.gz
Correct get_text() docstring
Diffstat (limited to 'paramiko/message.py')
-rw-r--r--paramiko/message.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/paramiko/message.py b/paramiko/message.py
index 36d0cbcd..c69916aa 100644
--- a/paramiko/message.py
+++ b/paramiko/message.py
@@ -173,9 +173,7 @@ class Message (object):
def get_text(self):
"""
- 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.)
+ Fetch a Unicode string from the stream.
"""
return u(self.get_bytes(self.get_int()))