Commit 9d7db3df authored by Guido van Rossum's avatar Guido van Rossum

Backport revision 58471, replace PyErr_Print() with PyErr_Clear().

parent eb341cba
...@@ -1542,7 +1542,7 @@ dec_utf8(const char *enc, const char *text, size_t len) { ...@@ -1542,7 +1542,7 @@ dec_utf8(const char *enc, const char *text, size_t len) {
Py_DECREF(unicode_text); Py_DECREF(unicode_text);
} }
if (!ret) { if (!ret) {
PyErr_Print(); PyErr_Clear();
} }
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment