Skip to content

Commit 85e35fb

Browse files
committed
Fix doc: functions are not documented
1 parent c7b7c51 commit 85e35fb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Doc/deprecations/c-api-pending-removal-in-3.20.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Pending removal in Python 3.20
22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33

4-
* :c:func:`_PyObject_CallMethodId`, :c:func:`_PyObject_GetAttrId` and
5-
:c:func:`_PyUnicode_FromId` are deprecated since 3.15 and will be removed in
4+
* :c:func:`!_PyObject_CallMethodId`, :c:func:`!_PyObject_GetAttrId` and
5+
:c:func:`!_PyUnicode_FromId` are deprecated since 3.15 and will be removed in
66
3.20. Instead, use :c:func:`PyUnicode_FromString()` and cache the result in
77
the module state, then call :c:func:`PyObject_CallMethod` or
88
:c:func:`PyObject_GetAttr`.

Doc/whatsnew/3.15.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,8 +1211,8 @@ Deprecated C APIs
12111211
use the :c:type:`PyBytesWriter` API instead.
12121212
(Contributed by Victor Stinner in :gh:`129813`.)
12131213

1214-
* :c:func:`_PyObject_CallMethodId`, :c:func:`_PyObject_GetAttrId` and
1215-
:c:func:`_PyUnicode_FromId` are deprecated since 3.15 and will be removed in
1214+
* :c:func:`!_PyObject_CallMethodId`, :c:func:`!_PyObject_GetAttrId` and
1215+
:c:func:`!_PyUnicode_FromId` are deprecated since 3.15 and will be removed in
12161216
3.20. Instead, use :c:func:`PyUnicode_FromString()` and cache the result in
12171217
the module state, then call :c:func:`PyObject_CallMethod` or
12181218
:c:func:`PyObject_GetAttr`.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:c:func:`_PyObject_CallMethodId`, :c:func:`_PyObject_GetAttrId` and
2-
:c:func:`_PyUnicode_FromId` are deprecated since 3.15 and will be removed in
1+
:c:func:`!_PyObject_CallMethodId`, :c:func:`!_PyObject_GetAttrId` and
2+
:c:func:`!_PyUnicode_FromId` are deprecated since 3.15 and will be removed in
33
3.20. Instead, use :c:func:`PyUnicode_FromString()` and cache the result in
44
the module state, then call :c:func:`PyObject_CallMethod` or
55
:c:func:`PyObject_GetAttr`. Patch by Victor Stinner.

0 commit comments

Comments
 (0)