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.
This commit is contained in:
Terry Jan Reedy 2021-01-24 14:08:50 -05:00 committed by GitHub
parent 15bd9efd01
commit 8dfe15625e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 49 additions and 47 deletions

View file

@ -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