mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Re-export more names in `sphinx.domains.python` (#12297)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
@@ -6,6 +6,9 @@ Bugs fixed
|
||||
|
||||
* #12295: Re-export all AST types in the C and C++ domains.
|
||||
Patch by Adam Turner.
|
||||
* #12295: Re-export various objects from ``sphinx.domains.python._annotations``
|
||||
in ``sphinx.domains.python``.
|
||||
Patch by Jacob Chesslo and Adam Turner.
|
||||
|
||||
Release 7.3.5 (released Apr 17, 2024)
|
||||
=====================================
|
||||
|
||||
@@ -38,12 +38,15 @@ if TYPE_CHECKING:
|
||||
|
||||
# re-export objects for backwards compatibility
|
||||
# xref https://github.com/sphinx-doc/sphinx/issues/12295
|
||||
from sphinx.domains.python._annotations import ( # NoQA: F401
|
||||
_parse_arglist, # for sphinx-immaterial
|
||||
type_to_xref,
|
||||
)
|
||||
from sphinx.domains.python._object import ( # NoQA: F401
|
||||
PyField,
|
||||
PyGroupedField,
|
||||
PyTypedField,
|
||||
PyXrefMixin,
|
||||
py_sig_re,
|
||||
)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user