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

This commit is contained in:
Guido van Rossum 2007-11-15 20:39:53 +00:00
parent c572dc3752
commit e15fab4298
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}