mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Change a PyErr_Print() into a PyErr_Clear(),
per discussion in issue 1031213.
This commit is contained in:
parent
ec5601945a
commit
9fc1b96a19
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue