mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
15bd9efd01
commit
8dfe15625e
10 changed files with 49 additions and 47 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue