File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Release 9.0.3 (in development)
44Bugs fixed
55----------
66
7+ * #14142: autodoc: Restore some missing exports in :mod: `!sphinx.ext.autodoc `.
8+ Patch by Adam Turner.
79
810Release 9.0.2 (released Dec 03, 2025)
911=====================================
Original file line number Diff line number Diff line change 1212import sphinx
1313from sphinx .config import ENUM
1414from sphinx .ext .autodoc ._directive import AutodocDirective
15+ from sphinx .ext .autodoc ._dynamic ._importer import (
16+ _import_module as import_module ,
17+ )
1518from sphinx .ext .autodoc ._event_listeners import between , cut_lines
1619from sphinx .ext .autodoc ._legacy_class_based ._directive_options import (
1720 Options ,
6063 SUPPRESS ,
6164 UNINITIALIZED_ATTR ,
6265)
66+ from sphinx .ext .autodoc .importer import get_class_members , import_object
67+ from sphinx .ext .autodoc .mock import ismock , mock , undecorate
6368from sphinx .ext .autodoc .typehints import _merge_typehints
6469
6570if TYPE_CHECKING :
123128 'UninitializedInstanceAttributeMixin' ,
124129 'autodoc_attrgetter' ,
125130 'Documenter' ,
131+ 'get_class_members' ,
132+ 'import_module' ,
133+ 'import_object' ,
134+ 'ismock' ,
135+ 'mock' ,
136+ 'undecorate' ,
126137)
127138
128139
You can’t perform that action at this time.
0 commit comments