Returns a documentation web link of a module
(module)
| 337 | return re.sub('\b.', '', doc) |
| 338 | |
| 339 | def get_pydoc_link(module): |
| 340 | "Returns a documentation web link of a module" |
| 341 | abspath = os.path.abspath |
| 342 | dirname = os.path.dirname |
| 343 | basedir = dirname(dirname(dirname(abspath(__file__)))) |
| 344 | doc = pydoc.TextDoc() |
| 345 | loc = doc.getdocloc(module, basedir=basedir) |
| 346 | return loc |
| 347 | |
| 348 | def get_pydoc_text(module): |
| 349 | "Returns pydoc generated output as text" |
no test coverage detected
searching dependent graphs…