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 51664c1 commit c6feca6Copy full SHA for c6feca6
Python/codecs.c
@@ -954,7 +954,7 @@ PyObject *PyCodec_XMLCharRefReplaceErrors(PyObject *exc)
954
*/
955
*outp++ = '&';
956
*outp++ = '#';
957
- const Py_UCS1 *digit_end = outp + n_decimal_digits_for_codepoint(ch);
+ Py_UCS1 *digit_end = outp + n_decimal_digits_for_codepoint(ch);
958
for (Py_UCS1 *p_digit = digit_end - 1; p_digit >= outp; --p_digit) {
959
*p_digit = '0' + (ch % 10);
960
ch /= 10;
0 commit comments