We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b907a4a commit d3b1a4dCopy full SHA for d3b1a4d
Python/codecs.c
@@ -669,7 +669,7 @@ wrong_exception_type(PyObject *exc)
669
}
670
671
672
-#define _PyIsUnicodeEncodeError(EXC) \
+#define _PyIsUnicodeEncodeError(EXC) \
673
PyObject_TypeCheck(EXC, (PyTypeObject *)PyExc_UnicodeEncodeError)
674
#define _PyIsUnicodeDecodeError(EXC) \
675
PyObject_TypeCheck(EXC, (PyTypeObject *)PyExc_UnicodeDecodeError)
0 commit comments