Returns pydoc generated output as text
(module)
| 346 | return loc |
| 347 | |
| 348 | def get_pydoc_text(module): |
| 349 | "Returns pydoc generated output as text" |
| 350 | doc = pydoc.TextDoc() |
| 351 | loc = doc.getdocloc(pydoc_mod) or "" |
| 352 | if loc: |
| 353 | loc = "\nMODULE DOCS\n " + loc + "\n" |
| 354 | |
| 355 | output = doc.docmodule(module) |
| 356 | output = clean_text(output) |
| 357 | return output.strip(), loc |
| 358 | |
| 359 | def get_html_title(text): |
| 360 | # Bit of hack, but good enough for test purposes |
no test coverage detected
searching dependent graphs…