Skip to content

Commit 1318d98

Browse files
committed
fix names
1 parent c323e3b commit 1318d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/codecs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ PyObject *PyCodec_ReplaceErrors(PyObject *exc)
778778
PyObject *PyCodec_XMLCharRefReplaceErrors(PyObject *exc)
779779
{
780780
if (!PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_UnicodeEncodeError)) {
781-
wrong_exception_type(exc);
781+
unsupported_unicode_error_type(exc);
782782
return NULL;
783783
}
784784

0 commit comments

Comments
 (0)