eric6/Utilities/ClassBrowsers/pyclbr.py

changeset 8205
4a0f1f896341
parent 8131
f2129bb79269
child 8207
d359172d11be
equal deleted inserted replaced
8204:fd477cded1c1 8205:4a0f1f896341
703 module, file, lineno, coding) 703 module, file, lineno, coding)
704 704
705 if '__all__' in dictionary: 705 if '__all__' in dictionary:
706 # set visibility of all top level elements 706 # set visibility of all top level elements
707 pubs = dictionary['__all__'] 707 pubs = dictionary['__all__']
708 for key in dictionary.keys(): 708 for key in dictionary:
709 if key == '__all__' or key.startswith("@@"): 709 if key == '__all__' or key.startswith("@@"):
710 continue 710 continue
711 if key in pubs.identifiers: 711 if key in pubs.identifiers:
712 dictionary[key].setPublic() 712 dictionary[key].setPublic()
713 else: 713 else:

eric ide

mercurial