Skip to content

Commit

Permalink
Docstring and changelog tweaks, thanks @bskinn!
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Jan 20, 2023
1 parent d29bb48 commit cfd4af0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion paramiko/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def sendall(self, s):
`send`, this method continues to send data from the given string until
either all data has been sent or an error occurs. Nothing is returned.
:param str s: data to send.
:param bytes s: data to send.
:raises socket.timeout:
if sending stalled for longer than the timeout set by `settimeout`.
Expand Down
4 changes: 3 additions & 1 deletion paramiko/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ def __next__(self):
:raises: ``StopIteration`` -- when the end of the file is reached.
:returns: a line (`str`) read from the file.
:returns:
a line (`str`, or `bytes` if the file was opened in binary mode)
read from the file.
"""
line = self.readline()
if not line:
Expand Down
2 changes: 1 addition & 1 deletion sites/www/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Changelog
2. So long and thanks for all the fish!

.. warning::
This change is backwards compatible. However, our packaging metadata has
This change is backwards incompatible. However, our packaging metadata has
been updated to include ``python_requires``, so this should not cause
breakage unless you're on an old installation method that can't read this
metadata.
Expand Down

0 comments on commit cfd4af0

Please sign in to comment.