eric7/Utilities/ModuleParser.py

branch
eric7
changeset 8761
f05818ae6431
parent 8495
e8278859d9fd
child 8881
54e42bc2437a
equal deleted inserted replaced
8760:8f3ee84ae342 8761:f05818ae6431
1260 @param path the exhausted path of classes 1260 @param path the exhausted path of classes
1261 @param result the result dictionary 1261 @param result the result dictionary
1262 @param fn function to call for classe that are already part of the 1262 @param fn function to call for classe that are already part of the
1263 result dictionary 1263 result dictionary
1264 """ 1264 """
1265 if path[0] in list(list(result.keys())): 1265 if path[0] in result:
1266 if len(path) > 1: 1266 if len(path) > 1:
1267 fn(path[1:], result[path[0]], fn) 1267 fn(path[1:], result[path[0]], fn)
1268 else: 1268 else:
1269 for part in path: 1269 for part in path:
1270 result[part] = {} 1270 result[part] = {}

eric ide

mercurial