eric6/DebugClients/Python/DebugClientBase.py

branch
Variables Viewer
changeset 7030
73779c4c135a
parent 6988
87ad87ef1910
child 7071
c9ff30a1acbb
--- a/eric6/DebugClients/Python/DebugClientBase.py	Tue May 21 22:44:17 2019 +0200
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Wed May 29 22:14:02 2019 +0200
@@ -1837,7 +1837,7 @@
                             len(value), value.typecode)
                     elif valtype == 'collections.defaultdict':
                         rvalue = "{0:d}|{1}".format(
-                            len(value), value.default_factory)
+                            len(value), value.default_factory.__name__)
                     elif valtype == "numpy.ndarray":
                         rvalue = "x".join(str(x) for x in value.shape)
                     elif valtypename == "MultiValueDict":

eric ide

mercurial