File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11Pending 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 `.
Original file line number Diff line number Diff 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 `.
Original file line number Diff line number Diff line change 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
333.20. Instead, use :c:func: `PyUnicode_FromString() ` and cache the result in
44the module state, then call :c:func: `PyObject_CallMethod ` or
55:c:func: `PyObject_GetAttr `. Patch by Victor Stinner.
You can’t perform that action at this time.
0 commit comments