FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-157137: Mark the PEP 820 soft deprecations as 3.15, not `next` by fedonman · Pull Request #157138 · python/cpython · GitHub

Repository navigation

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

Filter by extension

Filter by extension .rst  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
6 changes: 3 additions & 3 deletions Doc/c-api/module.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL