diff options
author | Guido van Rossum <guido@python.org> | 2007-05-03 17:49:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-05-03 17:49:24 (GMT) |
commit | 8d30cc0144a6a94e06f3a115b07afa6314466cfd (patch) | |
tree | 0c0b2f3d75cca4173ec3e8e2962682affbd2e886 /Include/pyerrors.h | |
parent | 938ef57e267838dcfbfb0d51d9bd40caece1c5db (diff) | |
download | cpython-8d30cc0144a6a94e06f3a115b07afa6314466cfd.zip cpython-8d30cc0144a6a94e06f3a115b07afa6314466cfd.tar.gz cpython-8d30cc0144a6a94e06f3a115b07afa6314466cfd.tar.bz2 |
Get rid of all #ifdef Py_USING_UNICODE (it is always present now).
(With the help of unifdef from freshmeat.)
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r-- | Include/pyerrors.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 562af10..5573b73 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -26,7 +26,6 @@ typedef struct { PyObject *print_file_and_line; } PySyntaxErrorObject; -#ifdef Py_USING_UNICODE typedef struct { PyObject_HEAD PyObject *dict; @@ -38,7 +37,6 @@ typedef struct { PyObject *end; PyObject *reason; } PyUnicodeErrorObject; -#endif typedef struct { PyObject_HEAD @@ -235,7 +233,6 @@ PyAPI_FUNC(void) PyErr_SetInterrupt(void); PyAPI_FUNC(void) PyErr_SyntaxLocation(const char *, int); PyAPI_FUNC(PyObject *) PyErr_ProgramText(const char *, int); -#ifdef Py_USING_UNICODE /* The following functions are used to create and modify unicode exceptions from C */ @@ -297,7 +294,6 @@ PyAPI_FUNC(int) PyUnicodeDecodeError_SetReason( PyObject *, const char *); PyAPI_FUNC(int) PyUnicodeTranslateError_SetReason( PyObject *, const char *); -#endif /* These APIs aren't really part of the error implementation, but |