MCPcopy Create free account
hub / github.com/Distrotech/reportlab / endFunction

Method endFunction

tools/docco/graphdocpy.py:564–575  ·  view source on GitHub ↗

Append a drawing to the story for special function names.

(self, name, doc, sig)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 3

_showFunctionDemoCodeMethod · 0.95
_showDrawingDemoMethod · 0.95
endFunctionMethod · 0.45

Tested by

no test coverage detected