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: |