eric6/DebugClients/Python/DebugClientBase.py

branch
Variables Viewer
changeset 7030
73779c4c135a
parent 6988
87ad87ef1910
child 7071
c9ff30a1acbb
equal deleted inserted replaced
7019:a1b25790bc5c 7030:73779c4c135a
1835 elif valtype == 'array.array': 1835 elif valtype == 'array.array':
1836 rvalue = "{0:d}|{1}".format( 1836 rvalue = "{0:d}|{1}".format(
1837 len(value), value.typecode) 1837 len(value), value.typecode)
1838 elif valtype == 'collections.defaultdict': 1838 elif valtype == 'collections.defaultdict':
1839 rvalue = "{0:d}|{1}".format( 1839 rvalue = "{0:d}|{1}".format(
1840 len(value), value.default_factory) 1840 len(value), value.default_factory.__name__)
1841 elif valtype == "numpy.ndarray": 1841 elif valtype == "numpy.ndarray":
1842 rvalue = "x".join(str(x) for x in value.shape) 1842 rvalue = "x".join(str(x) for x in value.shape)
1843 elif valtypename == "MultiValueDict": 1843 elif valtypename == "MultiValueDict":
1844 rvalue = "{0:d}".format(len(value.keys())) 1844 rvalue = "{0:d}".format(len(value.keys()))
1845 valtype = "django.MultiValueDict" # shortened type 1845 valtype = "django.MultiValueDict" # shortened type

eric ide

mercurial