diff options
author | Kalle Møller <github.com@k-moeller.dk> | 2017-01-16 00:04:40 +0100 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-01-25 10:23:00 -0800 |
commit | d224eec126acb1f003f5a2c8b2449313fee0cdad (patch) | |
tree | 89558fcde4da246afc64bf91f3bcbf9dc281b450 | |
parent | 3ed75f66a19eea3d8812423c1617d1d362e96d6d (diff) |
Added bytes as type to write
Small change so that my IDE stops telling me, that this function doesn't understand bytes :)
-rw-r--r-- | paramiko/file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/file.py b/paramiko/file.py index 05f2d6e6..5b57dfd6 100644 --- a/paramiko/file.py +++ b/paramiko/file.py @@ -370,7 +370,7 @@ class BufferedFile (ClosingContextManager): written yet. (Use `flush` or `close` to force buffered data to be written out.) - :param str data: data to write + :param str/bytes data: data to write """ data = b(data) if self._closed: |