Fix Sphinx references

This commit is contained in:
Victor Stinner 2026-05-02 17:50:57 +02:00
parent 3de82a70b6
commit f24e08a928
2 changed files with 7 additions and 7 deletions

View file

@ -1722,10 +1722,10 @@ ctypes
which has been deprecated since Python 3.13.
(Contributed by Bénédikt Tran in :gh:`133866`.)
* Change the :py:attr:`~_SimpleCData._type_` of :class:`c_float_complex`,
:class:`c_double_complex` and :class:`c_longdouble_complex`
from ``F``, ``D`` and ``G`` to ``Zf``, ``Zd`` and ``Zg``
for compatibility with numpy.
* Change the :py:attr:`~_SimpleCData._type_` of
:class:`~ctypes.c_float_complex`, :class:`~ctypes.c_double_complex` and
:class:`~ctypes.c_longdouble_complex` from ``F``, ``D`` and ``G`` to ``Zf``,
``Zd`` and ``Zg`` for compatibility with numpy.
(Contributed by Victor Stinner in :gh:`148675`.)

View file

@ -1,4 +1,4 @@
:mod:`ctypes`: Change the :py:attr:`~_SimpleCData._type_` of
:class:`c_float_complex`, :class:`c_double_complex` and
:class:`c_longdouble_complex` from ``F``, ``D`` and ``G`` to ``Zf``, ``Zd``
and ``Zg`` for compatibility with numpy. Patch by Victor Stinner.
:class:`~ctypes.c_float_complex`, :class:`~ctypes.c_double_complex` and
:class:`~ctypes.c_longdouble_complex` from ``F``, ``D`` and ``G`` to ``Zf``,
``Zd`` and ``Zg`` for compatibility with numpy. Patch by Victor Stinner.