Thanks to visit codestin.com Credit goes to github.com
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 b09af03 commit 8ba7930Copy full SHA for 8ba7930
1 file changed
Python/codecs.c
@@ -613,9 +613,9 @@ PyObject *PyCodec_XMLCharRefReplaceErrors(PyObject *exc)
613
outp = PyUnicode_1BYTE_DATA(res);
614
/* generate replacement */
615
for (i = start, o = 0; i < end; ++i) {
616
- ch = PyUnicode_READ_CHAR(object, i);
617
int digits;
618
int base;
+ ch = PyUnicode_READ_CHAR(object, i);
619
*outp++ = '&';
620
*outp++ = '#';
621
if (ch<10) {
0 commit comments