Change a PyErr_Print() into a PyErr_Clear(),
per discussion in issue 1031213.
This commit is contained in:
parent
ec5601945a
commit
9fc1b96a19
|
@ -1542,7 +1542,7 @@ dec_utf8(const char *enc, const char *text, size_t len) {
|
|||
Py_DECREF(unicode_text);
|
||||
}
|
||||
if (!ret) {
|
||||
PyErr_Print();
|
||||
PyErr_Clear();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue