diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 34ac78c7542..e77f7def010 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -79,6 +79,7 @@ extern DL_IMPORT(PyObject *) PyExc_SystemError; extern DL_IMPORT(PyObject *) PyExc_SystemExit; extern DL_IMPORT(PyObject *) PyExc_TypeError; extern DL_IMPORT(PyObject *) PyExc_UnboundLocalError; +extern DL_IMPORT(PyObject *) PyExc_UnicodeError; extern DL_IMPORT(PyObject *) PyExc_ValueError; extern DL_IMPORT(PyObject *) PyExc_ZeroDivisionError; #ifdef MS_WINDOWS