Skip to content

Commit c6feca6

Browse files
committed
post-merge
1 parent 51664c1 commit c6feca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/codecs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ PyObject *PyCodec_XMLCharRefReplaceErrors(PyObject *exc)
954954
*/
955955
*outp++ = '&';
956956
*outp++ = '#';
957-
const Py_UCS1 *digit_end = outp + n_decimal_digits_for_codepoint(ch);
957+
Py_UCS1 *digit_end = outp + n_decimal_digits_for_codepoint(ch);
958958
for (Py_UCS1 *p_digit = digit_end - 1; p_digit >= outp; --p_digit) {
959959
*p_digit = '0' + (ch % 10);
960960
ch /= 10;

0 commit comments

Comments
 (0)