DocumentationTools/ModuleDocumentor.py

changeset 564
b3d966393ba9
parent 406
eacf81fad150
child 766
0940de08fa75
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
602 for funcName in funcNames: 602 for funcName in funcNames:
603 try: 603 try:
604 funcBody = self.functionTemplate.format(**{ \ 604 funcBody = self.functionTemplate.format(**{ \
605 'Anchor' : funcName, 605 'Anchor' : funcName,
606 'Function' : self.module.functions[funcName].name, 606 'Function' : self.module.functions[funcName].name,
607 'FunctionDescription' : self.__formatDescription(\ 607 'FunctionDescription' : self.__formatDescription(
608 self.module.functions[funcName].description), 608 self.module.functions[funcName].description),
609 'Params' : ', '.join(self.module.functions[funcName].parameters), 609 'Params' : ', '.join(self.module.functions[funcName].parameters),
610 }) 610 })
611 except TagError as e: 611 except TagError as e:
612 sys.stderr.write("Error in tags of description of function {0}.\n".format( 612 sys.stderr.write("Error in tags of description of function {0}.\n".format(

eric ide

mercurial