From d224eec126acb1f003f5a2c8b2449313fee0cdad Mon Sep 17 00:00:00 2001 From: Kalle Møller Date: Mon, 16 Jan 2017 00:04:40 +0100 Subject: Added bytes as type to write Small change so that my IDE stops telling me, that this function doesn't understand bytes :) --- paramiko/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3