mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Re-export various names in `sphinx.domains.python
` (#12296)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
parent
943f6fbf9a
commit
37df4ce5b5
@ -4,6 +4,9 @@ Release 7.3.5 (in development)
|
|||||||
Bugs fixed
|
Bugs fixed
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
* #12295: Re-export various objects from ``sphinx.domains.python._object``
|
||||||
|
in ``sphinx.domains.python``.
|
||||||
|
Patch by Jacob Chesslo and Adam Turner.
|
||||||
|
|
||||||
Release 7.3.4 (released Apr 17, 2024)
|
Release 7.3.4 (released Apr 17, 2024)
|
||||||
=====================================
|
=====================================
|
||||||
|
@ -36,6 +36,16 @@ if TYPE_CHECKING:
|
|||||||
from sphinx.environment import BuildEnvironment
|
from sphinx.environment import BuildEnvironment
|
||||||
from sphinx.util.typing import ExtensionMetadata, OptionSpec
|
from sphinx.util.typing import ExtensionMetadata, OptionSpec
|
||||||
|
|
||||||
|
# re-export objects for backwards compatibility
|
||||||
|
# xref https://github.com/sphinx-doc/sphinx/issues/12295
|
||||||
|
from sphinx.domains.python._object import ( # NoQA: F401
|
||||||
|
PyField,
|
||||||
|
PyGroupedField,
|
||||||
|
PyTypedField,
|
||||||
|
PyXrefMixin,
|
||||||
|
py_sig_re,
|
||||||
|
)
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
pairindextypes = {
|
pairindextypes = {
|
||||||
|
Loading…
Reference in New Issue
Block a user