eric7/DebugClients/Python/DebugClientBase.py

branch
eric7
changeset 8416
1b8e456475a1
parent 8363
e0890180e16a
child 8433
91d5ffe55839
equal deleted inserted replaced
8415:c6236bed1b50 8416:1b8e456475a1
1840 "builtin_function_or_method" in filterList) 1840 "builtin_function_or_method" in filterList)
1841 ): 1841 ):
1842 continue 1842 continue
1843 else: 1843 else:
1844 isQt = False 1844 isQt = False
1845 # valtypestr, e.g. class 'PyQt5.QtCore.QPoint' 1845 # valtypestr, e.g. class 'PyQt6.QtCore.QPoint'
1846 valtypestr = str(type(value))[1:-1] 1846 valtypestr = str(type(value))[1:-1]
1847 _, valtype = valtypestr.split(' ', 1) 1847 _, valtype = valtypestr.split(' ', 1)
1848 # valtype, e.g. PyQt5.QtCore.QPoint 1848 # valtype, e.g. PyQt6.QtCore.QPoint
1849 valtype = valtype[1:-1] 1849 valtype = valtype[1:-1]
1850 # Strip 'instance' to be equal with Python 3 1850 # Strip 'instance' to be equal with Python 3
1851 if valtype == "instancemethod": 1851 if valtype == "instancemethod":
1852 valtype = "method" 1852 valtype = "method"
1853 elif valtype in ("type", "classobj"): 1853 elif valtype in ("type", "classobj"):

eric ide

mercurial