cpython/Mac/Tools/macfreeze/macgenerate.py

9 lines
233 B
Python

"""macgenerate - Generate the out for macfreeze"""
def generate(program, module_dict):
for name in module_dict.keys():
print 'Include %-20s\t'%name,
module = module_dict[name]
print module.gettype(), '\t', `module`
return 0