11Pending removal in Python 3.18
22^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33
4- * Deprecated private functions (:gh: `128863 `):
4+ * The following private functions are deprecated
5+ and planned for removal in Python 3.18:
56
67 * :c:func: `!_PyBytes_Join `: use :c:func: `PyBytes_Join `.
78 * :c:func: `!_PyDict_GetItemStringWithError `: use :c:func: `PyDict_GetItemStringRef `.
8- * :c:func: `!_PyDict_Pop() `: :c:func: `PyDict_Pop `.
9+ * :c:func: `!_PyDict_Pop() `: use :c:func: `PyDict_Pop `.
910 * :c:func: `!_PyLong_Sign() `: use :c:func: `PyLong_GetSign `.
1011 * :c:func: `!_PyLong_FromDigits ` and :c:func: `!_PyLong_New `:
1112 use :c:func: `PyLongWriter_Create `.
@@ -31,7 +32,7 @@ Pending removal in Python 3.18
3132 :c:func: `PyUnicodeWriter_WriteSubstring(writer, str, start, end) <PyUnicodeWriter_WriteSubstring> `.
3233 * :c:func: `!_PyUnicodeWriter_WriteASCIIString `:
3334 replace ``_PyUnicodeWriter_WriteASCIIString(&writer, str) `` with
34- :c:func: `PyUnicodeWriter_WriteUTF8 (writer, str) <PyUnicodeWriter_WriteUTF8 > `.
35+ :c:func: `PyUnicodeWriter_WriteASCII (writer, str) <PyUnicodeWriter_WriteASCII > `.
3536 * :c:func: `!_PyUnicodeWriter_WriteLatin1String `:
3637 replace ``_PyUnicodeWriter_WriteLatin1String(&writer, str) `` with
3738 :c:func: `PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8> `.
@@ -41,5 +42,6 @@ Pending removal in Python 3.18
4142 * :c:func: `!_Py_fopen_obj `: use :c:func: `Py_fopen `.
4243
4344 The `pythoncapi-compat project
44- <https://github.com/python/pythoncapi-compat/> `__ can be used to get these
45- new public functions on Python 3.13 and older.
45+ <https://github.com/python/pythoncapi-compat/> `__ can be used to get
46+ these new public functions on Python 3.13 and older.
47+ (Contributed by Victor Stinner in :gh: `128863 `.)
0 commit comments