--- a/eric6/Utilities/ClassBrowsers/pyclbr.py Thu Apr 08 17:27:12 2021 +0200 +++ b/eric6/Utilities/ClassBrowsers/pyclbr.py Thu Apr 08 18:27:47 2021 +0200 @@ -705,7 +705,7 @@ if '__all__' in dictionary: # set visibility of all top level elements pubs = dictionary['__all__'] - for key in dictionary.keys(): + for key in dictionary: if key == '__all__' or key.startswith("@@"): continue if key in pubs.identifiers: