diff options
author | Robey Pointer <robey@lag.net> | 2004-09-11 20:40:08 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-09-11 20:40:08 +0000 |
commit | 0e66dd47acdd63dbe251edb651f09dcb20a0ade7 (patch) | |
tree | 41dbd0106e14f43f8328f874d7eb65ebba96e87b | |
parent | 0e96d4a7e2495e4409fd1d9d629a77e41043e75e (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-82]
doc fixes
fix "string" -> "str" in types when documenting BufferedFile.
-rw-r--r-- | paramiko/file.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/paramiko/file.py b/paramiko/file.py index 9a71ef84..360ce28c 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') |