Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/c-api/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ struct:

.. versionadded:: 3.5

.. soft-deprecated:: next
.. soft-deprecated:: 3.15

Prefer :c:func:`PyModule_FromSlotsAndSpec` in new code.

Expand All @@ -877,7 +877,7 @@ struct:

.. versionadded:: 3.5

.. soft-deprecated:: next
.. soft-deprecated:: 3.15

Prefer :c:func:`PyModule_FromSlotsAndSpec` in new code.

Expand All @@ -887,7 +887,7 @@ struct:

.. versionadded:: 3.5

.. soft-deprecated:: next
.. soft-deprecated:: 3.15

To run a module's own execution slots, prefer :c:func:`PyModule_Exec`,
which works on modules that were not created from a
Expand Down
8 changes: 4 additions & 4 deletions Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ They will continue to work, but new features will be added as slots for

.. versionadded:: 3.12

.. soft-deprecated:: next
.. soft-deprecated:: 3.15

Prefer :c:func:`PyType_FromSlots` in new code.

Expand Down Expand Up @@ -859,7 +859,7 @@ They will continue to work, but new features will be added as slots for
Creating classes whose metaclass overrides
:c:member:`~PyTypeObject.tp_new` is no longer allowed.

.. soft-deprecated:: next
.. soft-deprecated:: 3.15

Prefer :c:func:`PyType_FromSlots` in new code.

Expand All @@ -885,7 +885,7 @@ They will continue to work, but new features will be added as slots for
Creating classes whose metaclass overrides
:c:member:`~PyTypeObject.tp_new` is no longer allowed.

.. soft-deprecated:: next
.. soft-deprecated:: 3.15

Prefer :c:func:`PyType_FromSlots` in new code.

Expand All @@ -910,7 +910,7 @@ They will continue to work, but new features will be added as slots for
Creating classes whose metaclass overrides
:c:member:`~PyTypeObject.tp_new` is no longer allowed.

.. soft-deprecated:: next
.. soft-deprecated:: 3.15

Prefer :c:func:`PyType_FromSlots` in new code.

Expand Down
Loading