Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #9250: autodoc: The inherited method not having docstring is wrongly parsed #9261

Merged
merged 1 commit into from May 23, 2021

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented May 22, 2021

Feature or Bugfix

  • Bugfix

Purpose

…ng is wrongly parsed

`sphinx.util.inspect.getdoc()` clean the docstring up if the method is
inherited and not having docstring.  That causes indentations are
removed on processing it.
@tk0miya tk0miya merged commit 830b3fb into sphinx-doc:4.x May 23, 2021
@tk0miya tk0miya deleted the 9250_inherited_docstring branch May 23, 2021 16:24
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant