src/eric7/DebugClients/Python/DebugVariables.py

branch
eric7
changeset 10373
093dcebe5ecb
parent 10332
7308cfc6e558
child 10417
c6011e501282
equal deleted inserted replaced
10372:1444b4bee64b 10373:093dcebe5ecb
517 containing the variable attributes 517 containing the variable attributes
518 @ytype tuple of (int, list) 518 @ytype tuple of (int, list)
519 """ 519 """
520 d = [] 520 d = []
521 start = count = 0 521 start = count = 0
522 allKeys = list(var.keys()) 522 allKeys = list(var)
523 try: 523 try:
524 # Fast path: all items from same type 524 # Fast path: all items from same type
525 allKeys.sort() 525 allKeys.sort()
526 except TypeError: 526 except TypeError:
527 # Slow path: only sort items with same type (Py3 only) 527 # Slow path: only sort items with same type (Py3 only)

eric ide

mercurial