src/eric7/DebugClients/Python/DebugVariables.py

branch
eric7
changeset 10417
c6011e501282
parent 10373
093dcebe5ecb
child 10439
21c28b0f9e41
diff -r 5d807e997391 -r c6011e501282 src/eric7/DebugClients/Python/DebugVariables.py
--- a/src/eric7/DebugClients/Python/DebugVariables.py	Sat Dec 16 17:52:02 2023 +0100
+++ b/src/eric7/DebugClients/Python/DebugVariables.py	Sun Dec 17 17:15:19 2023 +0100
@@ -38,11 +38,11 @@
         Public method to get an attribute from a variable.
 
         @param var variable to extract an attribute or value from
-        @type any
+        @type Any
         @param attribute name of the attribute to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         return getattr(var, attribute, None)
 
@@ -51,7 +51,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @return list containing the variable attributes
         @rtype list
         """
@@ -85,7 +85,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -116,7 +116,7 @@
         @param attribute name of the attribute to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         if " (ID:" not in attribute:
             try:
@@ -136,7 +136,7 @@
         Public method to get a string representation for a key.
 
         @param key key to be converted
-        @type any
+        @type Any
         @return string representation of the given key
         @rtype str
         """
@@ -154,7 +154,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -209,7 +209,7 @@
         @param attribute name of the attribute to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         try:
             return var[int(attribute)]
@@ -221,7 +221,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -267,7 +267,7 @@
         @param attribute id of the value to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         return super().resolve(list(var), attribute)
 
@@ -276,7 +276,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -303,7 +303,7 @@
         @param attribute id of the value to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         if attribute.startswith("'ID: "):
             attribute = attribute.split(None, 1)[1][:-1]
@@ -323,7 +323,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -383,7 +383,7 @@
         @param attribute id of the value to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         if attribute == "min":
             if self.__isNumeric(var):
@@ -415,7 +415,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -492,7 +492,7 @@
         @param attribute name of the attribute to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         if " (ID:" not in attribute:
             try:
@@ -512,7 +512,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -583,7 +583,7 @@
         @param attribute id of the value to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         try:
             return var[int(attribute)]
@@ -597,7 +597,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -649,7 +649,7 @@
         @param attribute name of the attribute to extract
         @type str
         @return value of the attribute
-        @rtype any
+        @rtype Any
         """
         if attribute == "internalPointer":
             return var.internalPointer()
@@ -661,7 +661,7 @@
         Public method to get the attributes of a variable as a list.
 
         @param var variable to be converted
-        @type any
+        @type Any
         @yield tuple containing the batch start index and a list
             containing the variable attributes
         @ytype tuple of (int, list)
@@ -845,7 +845,7 @@
     Public method to get the resolver based on the type info of an object.
 
     @param obj object to get resolver for
-    @type any
+    @type Any
     @return resolver
     @rtype BaseResolver
     """

eric ide

mercurial