MCPcopy Index your code
hub / github.com/python/cpython / writedocs

Function writedocs

Lib/pydoc.py:1772–1777  ·  view source on GitHub ↗

Write out HTML documentation for all modules in a directory tree.

(dir, pkgpath='', done=None)

Source from the content-addressed store, hash-verified

1770 print('wrote', name + '.html')
1771
1772def writedocs(dir, pkgpath='', done=None):
1773 """Write out HTML documentation for all modules in a directory tree."""
1774 if done is None: done = {}
1775 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
1776 writedoc(modname)
1777 return
1778
1779
1780def _introdoc():

Callers 1

cliFunction · 0.85

Calls 1

writedocFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…