summaryrefslogtreecommitdiff
path: root/paramiko/pipe.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/pipe.py
parente993a986388b0ec44b109a03edd34937a51aa9a1 (diff)
downloadparamiko-8d52c334b8b99eb96094edb1b513b26f864eeabd.tar.gz
No more (object)ions
Diffstat (limited to 'paramiko/pipe.py')
-rw-r--r--paramiko/pipe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/paramiko/pipe.py b/paramiko/pipe.py
index 3905949d..65944fad 100644
--- a/paramiko/pipe.py
+++ b/paramiko/pipe.py
@@ -38,7 +38,7 @@ def make_pipe():
return p
-class PosixPipe(object):
+class PosixPipe:
def __init__(self):
self._rfd, self._wfd = os.pipe()
self._set = False
@@ -71,7 +71,7 @@ class PosixPipe(object):
self.set()
-class WindowsPipe(object):
+class WindowsPipe:
"""
On Windows, only an OS-level "WinSock" may be used in select(), but reads
and writes must be to the actual socket object.
@@ -118,7 +118,7 @@ class WindowsPipe(object):
self.set()
-class OrPipe(object):
+class OrPipe:
def __init__(self, pipe):
self._set = False
self._partner = None