@@ -9,14 +9,30 @@ Python 3.18:
99  use :c:func: `PyLongWriter_Create `.
1010* :c:func: `!_PyThreadState_UncheckedGet `: use :c:func: `PyThreadState_GetUnchecked `.
1111* :c:func: `!_PyUnicode_AsString `: use :c:func: `PyUnicode_AsUTF8 `.
12- * :c:func: `!_PyUnicodeWriter_Init `: use :c:func: `PyUnicodeWriter_Create(0) <PyUnicodeWriter_Create> ` instead.
13- * :c:func: `!_PyUnicodeWriter_Finish `: use :c:func: `PyUnicodeWriter_Finish `.
14- * :c:func: `!_PyUnicodeWriter_Dealloc `: use :c:func: `PyUnicodeWriter_Discard `.
15- * :c:func: `!_PyUnicodeWriter_WriteChar `: use :c:func: `PyUnicodeWriter_WriteChar `.
16- * :c:func: `!_PyUnicodeWriter_WriteStr `: use :c:func: `PyUnicodeWriter_WriteStr `.
17- * :c:func: `!_PyUnicodeWriter_WriteSubstring `: use :c:func: `PyUnicodeWriter_WriteSubstring `.
18- * :c:func: `!_PyUnicodeWriter_WriteASCIIString `: use :c:func: `PyUnicodeWriter_WriteUTF8 `.
19- * :c:func: `!_PyUnicodeWriter_WriteLatin1String `: use :c:func: `PyUnicodeWriter_WriteUTF8 `.
12+ * :c:func: `!_PyUnicodeWriter_Init `:
13+   replace ``_PyUnicodeWriter_Init(&writer) `` with
14+   :c:func: `writer = PyUnicodeWriter_Create(0) <PyUnicodeWriter_Create> `.
15+ * :c:func: `!_PyUnicodeWriter_Finish `:
16+   replace ``_PyUnicodeWriter_Finish(&writer) `` with
17+   :c:func: `PyUnicodeWriter_Finish(writer) <PyUnicodeWriter_Finish> `.
18+ * :c:func: `!_PyUnicodeWriter_Dealloc `:
19+   replace ``_PyUnicodeWriter_Dealloc(&writer) `` with
20+   :c:func: `PyUnicodeWriter_Discard(writer) <PyUnicodeWriter_Discard> `.
21+ * :c:func: `!_PyUnicodeWriter_WriteChar `:
22+   replace ``_PyUnicodeWriter_WriteChar(&writer, ch) `` with
23+   :c:func: `PyUnicodeWriter_WriteChar(writer, ch) <PyUnicodeWriter_WriteChar> `.
24+ * :c:func: `!_PyUnicodeWriter_WriteStr `:
25+   replace ``_PyUnicodeWriter_WriteStr(&writer, str) `` with
26+   :c:func: `PyUnicodeWriter_WriteStr(writer, str) <PyUnicodeWriter_WriteStr> `.
27+ * :c:func: `!_PyUnicodeWriter_WriteSubstring `:
28+   replace ``_PyUnicodeWriter_WriteSubstring(&writer, str, start, end) `` with
29+   :c:func: `PyUnicodeWriter_WriteSubstring(writer, str, start, end) <PyUnicodeWriter_WriteSubstring> `.
30+ * :c:func: `!_PyUnicodeWriter_WriteASCIIString `:
31+   replace ``_PyUnicodeWriter_WriteASCIIString(&writer, str) `` with
32+   :c:func: `PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8> `.
33+ * :c:func: `!_PyUnicodeWriter_WriteLatin1String `:
34+   replace ``_PyUnicodeWriter_WriteLatin1String(&writer, str) `` with
35+   :c:func: `PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8> `.
2036* :c:func: `!_Py_HashPointer `: use :c:func: `Py_HashPointer `.
2137* :c:func: `!_Py_fopen_obj `: use :c:func: `Py_fopen `.
2238
0 commit comments