eric6/Utilities/ClassBrowsers/pyclbr.py

changeset 7628
f904d0eef264
parent 7400
e5d62581d002
child 7639
422fd05e9c91
equal deleted inserted replaced
7626:7f643d41464e 7628:f904d0eef264
647 lineno = lineno + src.count('\n', last_lineno_pos, start) 647 lineno = lineno + src.count('\n', last_lineno_pos, start)
648 last_lineno_pos = start 648 last_lineno_pos = start
649 if "@@Coding@@" not in dictionary: 649 if "@@Coding@@" not in dictionary:
650 dictionary["@@Coding@@"] = ClbrBaseClasses.Coding( 650 dictionary["@@Coding@@"] = ClbrBaseClasses.Coding(
651 module, file, lineno, coding) 651 module, file, lineno, coding)
652
653 else:
654 assert 0, "regexp _getnext found something unexpected"
655 652
656 if '__all__' in dictionary: 653 if '__all__' in dictionary:
657 # set visibility of all top level elements 654 # set visibility of all top level elements
658 pubs = dictionary['__all__'] 655 pubs = dictionary['__all__']
659 for key in dictionary.keys(): 656 for key in dictionary.keys():

eric ide

mercurial