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 f88524b commit 9920426Copy full SHA for 9920426
Python/codecs.c
@@ -1384,7 +1384,7 @@ _PyCodec_SurrogateEscapeUnicodeEncodeError(PyObject *exc)
1384
/* object is guaranteed to be "ready" */
1385
Py_UCS4 ch = PyUnicode_READ_CHAR(obj, i);
1386
if (ch < 0xdc80 || ch > 0xdcff) {
1387
- /* Not a UTF-8b surrogate, fail with original exception */
+ /* Not a UTF-8b surrogate, fail with original exception. */
1388
Py_DECREF(obj);
1389
Py_DECREF(res);
1390
PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
0 commit comments