From 0e66dd47acdd63dbe251edb651f09dcb20a0ade7 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sat, 11 Sep 2004 20:40:08 +0000 Subject: [PATCH] [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-82] doc fixes fix "string" -> "str" in types when documenting BufferedFile. --- paramiko/file.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paramiko/file.py b/paramiko/file.py index 9a71ef8..360ce28 100644 --- a/paramiko/file.py +++ b/paramiko/file.py @@ -96,7 +96,7 @@ class BufferedFile (object): @raise StopIteration: when the end of the file is reached. @return: a line read from the file. - @rtype: string + @rtype: str """ line = self.readline() if not line: @@ -113,7 +113,7 @@ class BufferedFile (object): @type size: int @return: data read from the file, or an empty string if EOF was encountered immediately. - @rtype: string + @rtype: str """ if self._closed: raise IOError('File is closed') @@ -170,7 +170,7 @@ class BufferedFile (object): @type size: int @return: next line of the file, or an empty string if the end of the file has been reached. - @rtype: string + @rtype: str """ # it's almost silly how complex this function is. if self._closed: @@ -294,7 +294,7 @@ class BufferedFile (object): written out.) @param data: data to write. - @type data: string + @type data: str """ if self._closed: raise IOError('File is closed')