You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the code that pydoc uses to format docstrings
(which is located in inspect.getdoc) should be exposed,
so that you can in some way pass docstrings directly to
be formatted, rather than "wrapping" them as a __doc__
attribute on a temporary object.
The hassle of wrapping a __doc__ attribute is small and the
use case is rare enough that there isn't much of a case for
changing the module API.
Also, I'm concerned about module cohesion. The purpose of
the module is inspecting live objects. Minor tweaking of
docstring formatting is only a by-product and not a primary
function.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: