diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst index 31df4451f15e663..e4664ef815f567c 100644 --- a/Doc/c-api/module.rst +++ b/Doc/c-api/module.rst @@ -853,7 +853,7 @@ struct: .. versionadded:: 3.5 - .. soft-deprecated:: next + .. soft-deprecated:: 3.15 Prefer :c:func:`PyModule_FromSlotsAndSpec` in new code. @@ -877,7 +877,7 @@ struct: .. versionadded:: 3.5 - .. soft-deprecated:: next + .. soft-deprecated:: 3.15 Prefer :c:func:`PyModule_FromSlotsAndSpec` in new code. @@ -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 diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 2e48c56bd2c5a5b..5216e09dd11bee8 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -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. @@ -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. @@ -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. @@ -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.