eric6/DebugClients/Python/DebugVariables.py

changeset 8218
7c09585bd960
parent 8207
d359172d11be
child 8220
006ee31b4835
--- a/eric6/DebugClients/Python/DebugVariables.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/DebugClients/Python/DebugVariables.py	Sat Apr 10 18:38:27 2021 +0200
@@ -180,7 +180,7 @@
             yield start, d
         
         # in case it has additional fields
-        d = super(DictResolver, self).getDictionary(var)
+        d = super().getDictionary(var)
         yield -1, d
         
         while True:
@@ -237,7 +237,7 @@
             yield start, d
         
         # in case it has additional fields
-        d = super(ListResolver, self).getDictionary(var)
+        d = super().getDictionary(var)
         yield -1, d
         
         while True:
@@ -264,7 +264,7 @@
         @return value of the attribute
         @rtype any
         """
-        return super(DictViewResolver, self).resolve(list(var), attribute)
+        return super().resolve(list(var), attribute)
     
     def getDictionary(self, var):
         """
@@ -275,7 +275,7 @@
         @return dictionary containing the variable attributes
         @rtype dict
         """
-        return super(DictViewResolver, self).getDictionary(list(var))
+        return super().getDictionary(list(var))
 
 
 ############################################################
@@ -336,7 +336,7 @@
             yield start, d
         
         # in case it has additional fields
-        additionals = super(SetResolver, self).getDictionary(var)
+        additionals = super().getDictionary(var)
         yield -1, additionals
         
         while True:
@@ -433,7 +433,7 @@
             yield start, d
         
         # in case it has additional fields
-        d = super(NdArrayResolver, self).getDictionary(var)
+        d = super().getDictionary(var)
         
         if var.size > 1024 * 1024:
             d['min'] = (
@@ -529,7 +529,7 @@
             yield start, d
         
         # in case it has additional fields
-        d = super(DictResolver, self).getDictionary(var)
+        d = super().getDictionary(var)
         yield -1, d
         
         while True:
@@ -606,7 +606,7 @@
             yield start, d
         
         # in case it has additional fields
-        d = super(ArrayResolver, self).getDictionary(var)
+        d = super().getDictionary(var)
         
         # Special data for array type: convert typecode to readable text
         d['type'] = self.TypeCodeMap.get(var.typecode, 'illegal type')

eric ide

mercurial