|
672 | 672 |
|
673 | 673 | * Changed :meth:`Enum.__format__() <enum.Enum.__format__>` (the default for |
674 | 674 | :func:`format`, :meth:`str.format` and :term:`f-string`\s) to always produce |
675 | | - the same result as :meth:`Enum.__str__()`: for enums inheriting from |
| 675 | + the same result as :meth:`Enum.__str__() <enum.Enum.__str__>`: for enums inheriting from |
676 | 676 | :class:`~enum.ReprEnum` it will be the member's value; for all other enums |
677 | 677 | it will be the enum and member name (e.g. ``Color.RED``). |
678 | 678 |
|
@@ -2465,7 +2465,7 @@ Porting to Python 3.11 |
2465 | 2465 |
|
2466 | 2466 | Debuggers that accessed the :attr:`~frame.f_locals` directly *must* call |
2467 | 2467 | :c:func:`PyFrame_GetLocals` instead. They no longer need to call |
2468 | | - :c:func:`PyFrame_FastToLocalsWithError` or :c:func:`PyFrame_LocalsToFast`, |
| 2468 | + :c:func:`!PyFrame_FastToLocalsWithError` or :c:func:`!PyFrame_LocalsToFast`, |
2469 | 2469 | in fact they should not call those functions. The necessary updating of the |
2470 | 2470 | frame is now managed by the virtual machine. |
2471 | 2471 |
|
@@ -2604,8 +2604,8 @@ and will be removed in Python 3.12. |
2604 | 2604 | * :c:func:`!PyUnicode_GET_DATA_SIZE` |
2605 | 2605 | * :c:func:`!PyUnicode_GET_SIZE` |
2606 | 2606 | * :c:func:`!PyUnicode_GetSize` |
2607 | | -* :c:func:`PyUnicode_IS_COMPACT` |
2608 | | -* :c:func:`PyUnicode_IS_READY` |
| 2607 | +* :c:func:`!PyUnicode_IS_COMPACT` |
| 2608 | +* :c:func:`!PyUnicode_IS_READY` |
2609 | 2609 | * :c:func:`PyUnicode_READY` |
2610 | 2610 | * :c:func:`!PyUnicode_WSTR_LENGTH` |
2611 | 2611 | * :c:func:`!_PyUnicode_AsUnicode` |
@@ -2660,7 +2660,7 @@ Removed |
2660 | 2660 | (Contributed by Victor Stinner in :issue:`45474`.) |
2661 | 2661 |
|
2662 | 2662 | * Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C API. It never |
2663 | | - worked since the :c:type:`PyWeakReference` structure is opaque in the |
| 2663 | + worked since the :c:type:`!PyWeakReference` structure is opaque in the |
2664 | 2664 | limited C API. |
2665 | 2665 | (Contributed by Victor Stinner in :issue:`35134`.) |
2666 | 2666 |
|
|
0 commit comments