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

Re-export more names in sphinx.domains.python #12297

Merged
merged 11 commits into from
Apr 17, 2024
10 changes: 10 additions & 0 deletions sphinx/domains/python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@

# re-export objects for backwards compatibility
# xref https://github.com/sphinx-doc/sphinx/issues/12295
from sphinx.domains.python._annotations import ( # NoQA: F401
_parse_annotation,

Check failure on line 42 in sphinx/domains/python/__init__.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F811)

sphinx/domains/python/__init__.py:42:5: F811 Redefinition of unused `_parse_annotation` from line 15
_parse_arglist,
_parse_type_list,
_pseudo_parse_arglist,
_TypeParameterListParser,
parse_reftarget,
type_to_xref,
AA-Turner marked this conversation as resolved.
Show resolved Hide resolved
)

from sphinx.domains.python._object import ( # NoQA: F401
PyField,
PyGroupedField,
Expand Down