aboutsummaryrefslogtreecommitdiff
path: root/paramiko/file.py
diff options
context:
space:
mode:
authorJeremy T. Bouse <jbouse@debian.org>2014-09-22 20:57:21 -0400
committerJeremy T. Bouse <jbouse@debian.org>2014-09-22 20:57:21 -0400
commit642baf291b7ffbb444cc54290d02a5bdd3f3c96c (patch)
treebb46ca233dba457433dd40a1b61e8e2883f93e99 /paramiko/file.py
parent4739e54332e5791308fbe531c9ca98e2191e7240 (diff)
parent941814e1efaf9a46992476e50badcecbcbfc9a41 (diff)
downloadpython-paramiko-642baf291b7ffbb444cc54290d02a5bdd3f3c96c.tar
python-paramiko-642baf291b7ffbb444cc54290d02a5bdd3f3c96c.tar.gz
Merge tag 'upstream/1.15.1'
Upstream version 1.15.1
Diffstat (limited to 'paramiko/file.py')
-rw-r--r--paramiko/file.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/paramiko/file.py b/paramiko/file.py
index 0999882..311e198 100644
--- a/paramiko/file.py
+++ b/paramiko/file.py
@@ -106,14 +106,13 @@ class BufferedFile (ClosingContextManager):
else:
def __next__(self):
"""
- Returns the next line from the input, or raises L{StopIteration} when
+ Returns the next line from the input, or raises `.StopIteration` when
EOF is hit. Unlike python file objects, it's okay to mix calls to
- C{next} and L{readline}.
+ `.next` and `.readline`.
- @raise StopIteration: when the end of the file is reached.
+ :raises StopIteration: when the end of the file is reached.
- @return: a line read from the file.
- @rtype: str
+ :returns: a line (`str`) read from the file.
"""
line = self.readline()
if not line: