Append a drawing to the story for special function names.
(self, name, doc, sig)
| 562 | |
| 563 | |
| 564 | def endFunction(self, name, doc, sig): |
| 565 | "Append a drawing to the story for special function names." |
| 566 | |
| 567 | if name[:6] != 'sample': |
| 568 | return |
| 569 | |
| 570 | HtmlDocBuilder0.endFunction(self, name, doc, sig) |
| 571 | aFunc = eval('self.skeleton.moduleSpace.' + name) |
| 572 | drawing = aFunc() |
| 573 | |
| 574 | self._showFunctionDemoCode(aFunc) |
| 575 | self._showDrawingDemo(drawing, aFunc.__name__) |
| 576 | |
| 577 | |
| 578 | def _showFunctionDemoCode(self, function): |
nothing calls this directly
no test coverage detected