drgn/drgn
Omar Sandoval f41cc7fb48 drgndoc: recursively document names imported with alias
The helpers implemented in C have Python wrappers only for the purpose
of documentation. This is because drgndoc ignores all imports when
recursively documenting attributes. However, mypy uses the convention
that aliased imports (i.e., import ... as ... or from ... import ... as
...) are considered re-exported, so we can follow that convention and
include aliased imports. (mypy also considered attributes in __all__ as
re-exported, so we should probably follow that in the future, too, but
for now aliased imports are enough). This lets us get rid of the Python
wrappers.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2020-08-20 11:21:29 -07:00
..
helpers drgndoc: recursively document names imported with alias 2020-08-20 11:21:29 -07:00
internal Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
__init__.py Add Path type alias 2020-08-20 11:20:29 -07:00
__main__.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
py.typed Add type hint stubs and generate documentation from them 2020-02-25 13:39:06 -08:00