diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2021-01-24 19:08:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 19:08:50 (GMT) |
commit | 8dfe15625e6ea4357a13fec7989a0e6ba2bf1359 (patch) | |
tree | 50c5397aa53f021616f370e3dfab3520eefddbd2 /Lib/idlelib/rpc.py | |
parent | 15bd9efd01e44087664e78bf766865a6d2e06626 (diff) | |
download | cpython-8dfe15625e6ea4357a13fec7989a0e6ba2bf1359.zip cpython-8dfe15625e6ea4357a13fec7989a0e6ba2bf1359.tar.gz cpython-8dfe15625e6ea4357a13fec7989a0e6ba2bf1359.tar.bz2 |
bpo-43013: Update idlelib code to 3.x (GH-24315)
Remove 9 remaining '(object)' occurrences in class headers in idlelib
and 25 '()' occurrences in idlelib.idle_test class headers.
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r-- | Lib/idlelib/rpc.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py index aa8cbd3..8efcf04 100644 --- a/Lib/idlelib/rpc.py +++ b/Lib/idlelib/rpc.py @@ -125,7 +125,7 @@ request_queue = queue.Queue(0) response_queue = queue.Queue(0) -class SocketIO(object): +class SocketIO: nextseq = 0 @@ -486,7 +486,7 @@ class SocketIO(object): #----------------- end class SocketIO -------------------- -class RemoteObject(object): +class RemoteObject: # Token mix-in class pass @@ -497,7 +497,7 @@ def remoteref(obj): return RemoteProxy(oid) -class RemoteProxy(object): +class RemoteProxy: def __init__(self, oid): self.oid = oid @@ -547,7 +547,7 @@ class RPCClient(SocketIO): return RPCProxy(self, oid) -class RPCProxy(object): +class RPCProxy: __methods = None __attributes = None @@ -596,7 +596,7 @@ def _getattributes(obj, attributes): attributes[name] = 1 -class MethodProxy(object): +class MethodProxy: def __init__(self, sockio, oid, name): self.sockio = sockio |