From 8ca90637b56710c1141b7786032b0b35dadc9935 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 13 Jan 2023 01:51:49 -0500 Subject: flake8/black --- paramiko/config.py | 1 + paramiko/transport.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/paramiko/config.py b/paramiko/config.py index 0e50147a..d523e9c2 100644 --- a/paramiko/config.py +++ b/paramiko/config.py @@ -655,6 +655,7 @@ class SSHConfigDict(dict): .. versionadded:: 2.5 """ + def as_bool(self, key): """ Express given key's value as a boolean type. diff --git a/paramiko/transport.py b/paramiko/transport.py index 8c124403..6097fc29 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -343,8 +343,8 @@ class Transport(threading.Thread, ClosingContextManager): If the object is not actually a socket, it must have the following methods: - - ``send(bytes)``: Writes from 1 to ``len(bytes)`` bytes, and returns an - int representing the number of bytes written. Returns + - ``send(bytes)``: Writes from 1 to ``len(bytes)`` bytes, and returns + an int representing the number of bytes written. Returns 0 or raises ``EOFError`` if the stream has been closed. - ``recv(int)``: Reads from 1 to ``int`` bytes and returns them as a string. Returns 0 or raises ``EOFError`` if the stream has been -- cgit v1.2.1