We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e5131 commit ee1a7f6Copy full SHA for ee1a7f6
Modules/_json.c
@@ -304,6 +304,8 @@ escape_unicode(PyObject *pystr)
304
}
305
306
// Take a PyUnicode pystr and write an ASCII-only escaped string to writer.
307
+// Same to ascii_escape_unicode(), but write to PyUnicodeWriter instead of
308
+// return Unicode object.
309
static int
310
write_escaped_ascii(PyUnicodeWriter *writer, PyObject *pystr)
311
{
@@ -346,6 +348,8 @@ write_escaped_ascii(PyUnicodeWriter *writer, PyObject *pystr)
346
348
347
349
350
// Take a PyUnicode pystr and write an escaped string to writer.
351
+// Same to escape_unicode(), but write to PyUnicodeWriter instead of
352
353
354
write_escaped_unicode(PyUnicodeWriter *writer, PyObject *pystr)
355
0 commit comments