diff -r fd477cded1c1 -r 4a0f1f896341 eric6/DebugClients/Python/DebugVariables.py --- a/eric6/DebugClients/Python/DebugVariables.py Thu Apr 08 17:27:12 2021 +0200 +++ b/eric6/DebugClients/Python/DebugVariables.py Thu Apr 08 18:27:47 2021 +0200 @@ -489,7 +489,7 @@ return getattr(var, attribute, None) expectedID = int(attribute.split(" (ID:")[-1][:-1]) - for key in var.keys(): + for key in var: if id(key) == expectedID: return var.getlist(key)