Skip to content

Commit

Permalink
Update rest of file re: s/return/returns/
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Dec 18, 2015
1 parent 5553764 commit ddc6c4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions paramiko/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def next(self):
:raises StopIteration: when the end of the file is reached.
:return: a line (`str`) read from the file.
:returns: a line (`str`) read from the file.
"""
line = self.readline()
if not line:
Expand Down Expand Up @@ -174,7 +174,7 @@ def read(self, size=None):
text data.
:param int size: maximum number of bytes to read
:return:
:returns:
data read from the file (as bytes), or an empty string if EOF was
encountered immediately
"""
Expand Down Expand Up @@ -234,7 +234,7 @@ def readline(self, size=None):
characters (``'\\0'``) if they occurred in the input.
:param int size: maximum length of returned string.
:return:
:returns:
next line of the file, or an empty string if the end of the
file has been reached.
Expand Down Expand Up @@ -319,7 +319,7 @@ def readlines(self, sizehint=None):
after rounding up to an internal buffer size) are read.
:param int sizehint: desired maximum number of bytes to read.
:return: `list` of lines read from the file.
:returns: `list` of lines read from the file.
"""
lines = []
byte_count = 0
Expand Down Expand Up @@ -359,7 +359,7 @@ def tell(self):
useful if the underlying file doesn't support random access, or was
opened in append mode.
:return: file position (`number <int>` of bytes).
:returns: file position (`number <int>` of bytes).
"""
return self._pos

Expand Down

0 comments on commit ddc6c4c

Please sign in to comment.