Cython needs better support for API documentation
Bug #129236 reported by
scoder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cython |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Currently, Python functions and methods in Cython generated C modules cannot provide their signature to interactive introspection. This is a major problem for the "help()" function in the interpreter (where function signatures look like "parse(...)"), but also to API doc generation tools like epydoc.
epydoc supports a special first line in the docstring here that mimics the look of the signature:
http://
http://
Cython could generate such a line based on the original source signature.
Changed in cython: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
Due to a patch by Nick Alexander, special functions now inherit docstrings et. al.