eric6/Debugger/Config.py

changeset 7862
817ef8e0fa66
parent 7780
41420f82c0ac
child 7923
91e843545d9a
--- a/eric6/Debugger/Config.py	Sun Dec 06 12:46:00 2020 +0100
+++ b/eric6/Debugger/Config.py	Sun Dec 06 17:43:11 2020 +0100
@@ -9,7 +9,7 @@
 
 from PyQt5.QtCore import QT_TRANSLATE_NOOP
 
-# Variables type definition
+# Variable type definitions
 ConfigVarTypeDispStrings = {
     '__': QT_TRANSLATE_NOOP('Variable Types', 'Hidden Attributes'),
     'NoneType': QT_TRANSLATE_NOOP('Variable Types', 'None'),
@@ -20,7 +20,6 @@
     'float': QT_TRANSLATE_NOOP('Variable Types', 'Float'),
     'complex': QT_TRANSLATE_NOOP('Variable Types', 'Complex'),
     'str': QT_TRANSLATE_NOOP('Variable Types', 'String'),
-    'unicode': QT_TRANSLATE_NOOP('Variable Types', 'Unicode String'),
     'tuple': QT_TRANSLATE_NOOP('Variable Types', 'Tuple'),
     'list': QT_TRANSLATE_NOOP('Variable Types', 'List/Array'),
     'dict': QT_TRANSLATE_NOOP('Variable Types', 'Dictionary/Hash/Map'),
@@ -45,42 +44,6 @@
     'traceback': QT_TRANSLATE_NOOP('Variable Types', 'Traceback'),
     'frame': QT_TRANSLATE_NOOP('Variable Types', 'Frame'),
     'bytes': QT_TRANSLATE_NOOP('Variable Types', 'Bytes'),
+    "special_attributes": QT_TRANSLATE_NOOP(
+        'Variable Types', "Special Attributes"),
 }
-
-
-ConfigVarTypeFilters = {
-    '__': 0,
-    'NoneType': 1,
-    'type': 2,
-    'bool': 3,
-    'int': 4,
-    'long': 5,
-    'float': 6,
-    'complex': 7,
-    'str': 8,
-    'unicode': 9,  # Not used anymore but keep to avoid reassignment
-    'tuple': 10,
-    'list': 11,
-    'dict': 12,
-    'dict-proxy': 13,
-    'set': 14,
-    'file': 15,
-    'xrange': 16,
-    'slice': 17,
-    'buffer': 18,
-    'class': 19,
-    'instance': 20,
-    'method': 21,
-    'property': 22,
-    'generator': 23,
-    'function': 24,
-    'builtin_function_or_method': 25,
-    'code': 26,
-    'module': 27,
-    'ellipsis': 28,
-    'traceback': 29,
-    'frame': 30,
-    'other': 31,  # Not used anymore but keep to avoid reassignment
-    'frozenset': 32,
-    'bytes': 33,
-}

eric ide

mercurial