Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/development/tutorials/examples/autodoc_intenum.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import TYPE_CHECKING

from sphinx.ext.autodoc import ClassDocumenter, bool_option
from sphinx.ext.autodoc._documenters import _docstring_source_name
from sphinx.ext.autodoc._generate import _docstring_source_name

if TYPE_CHECKING:
from typing import Any
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ exclude = [
[tool.mypy]
files = [
"doc/conf.py",
"doc/development/tutorials/examples/autodoc_intenum.py",
# "doc/development/tutorials/examples/autodoc_intenum.py",
"doc/development/tutorials/examples/helloworld.py",
"sphinx",
"tests",
Expand Down
3 changes: 1 addition & 2 deletions sphinx/ext/autodoc/_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def _process_docstrings(
*,
events: EventManager,
props: _ItemProperties,
obj: Any,
options: _AutoDocumenterOptions,
) -> Iterator[str]:
"""Let the user process the docstrings before adding them."""
Expand All @@ -89,7 +88,7 @@ def _process_docstrings(
'autodoc-process-docstring',
props.obj_type,
props.full_name,
obj,
props._obj,
options,
docstring_lines,
)
Expand Down
Loading
Loading