Kaydet (Commit) 9fc1b96a authored tarafından Guido van Rossum's avatar Guido van Rossum

Change a PyErr_Print() into a PyErr_Clear(),

per discussion in issue 1031213.
üst ec560194
...@@ -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