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 713ece5 commit 6edcfefCopy full SHA for 6edcfef
Python/codecs.c
@@ -915,7 +915,6 @@ PyObject *PyCodec_XMLCharRefReplaceErrors(PyObject *exc)
915
916
Py_ssize_t ressize = 0;
917
for (Py_ssize_t i = start; i < end; ++i) {
918
- /* object is guaranteed to be "ready" */
919
Py_UCS4 ch = PyUnicode_READ_CHAR(obj, i);
920
int k = n_decimal_digits_for_codepoint(ch);
921
assert(k != 0);
0 commit comments