summaryrefslogtreecommitdiff
path: root/paramiko/transport.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-16 19:40:31 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-16 19:40:31 -0500
commit8d52c334b8b99eb96094edb1b513b26f864eeabd (patch)
tree43cba7b53cfb28277f546b09d1fd99aebc7f9e36 /paramiko/transport.py
parente993a986388b0ec44b109a03edd34937a51aa9a1 (diff)
downloadparamiko-8d52c334b8b99eb96094edb1b513b26f864eeabd.tar.gz
No more (object)ions
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 6097fc29..247cc1a0 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -3007,7 +3007,7 @@ class Transport(threading.Thread, ClosingContextManager):
# TODO 3.0: drop this, we barely use it ourselves, it badly replicates the
# Transport-internal algorithm management, AND does so in a way which doesn't
# honor newer things like disabled_algorithms!
-class SecurityOptions(object):
+class SecurityOptions:
"""
Simple object containing the security preferences of an ssh transport.
These are tuples of acceptable ciphers, digests, key types, and key
@@ -3088,7 +3088,7 @@ class SecurityOptions(object):
self._set("_preferred_compression", "_compression_info", x)
-class ChannelMap(object):
+class ChannelMap:
def __init__(self):
# (id -> Channel)
self._map = weakref.WeakValueDictionary()