[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-40]

anal tweak of docs
This commit is contained in:
Robey Pointer 2005-07-14 02:46:35 +00:00
parent 1a7868d27f
commit a321fa026d
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ class Message (object):
an int, string, etc. Just the raw bytes are returned. an int, string, etc. Just the raw bytes are returned.
@return: a string of the next C{n} bytes of the Message, or a string @return: a string of the next C{n} bytes of the Message, or a string
of C{n} zero bytes, if there aren't C{n} bytes remaining. of C{n} zero bytes, if there aren't C{n} bytes remaining.
@rtype: string @rtype: string
""" """
b = self.packet.read(n) b = self.packet.read(n)
@ -114,7 +114,7 @@ class Message (object):
is equivalent to L{get_bytes(1)<get_bytes>}. is equivalent to L{get_bytes(1)<get_bytes>}.
@return: the next byte of the Message, or C{'\000'} if there aren't @return: the next byte of the Message, or C{'\000'} if there aren't
any bytes remaining. any bytes remaining.
@rtype: string @rtype: string
""" """
return self.get_bytes(1) return self.get_bytes(1)