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 /Modules/_testcapimodule.c | |
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 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 09bb4ff..71e42c1 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -456,7 +456,6 @@ test_k_code(PyObject *self) return Py_None; } -#ifdef Py_USING_UNICODE /* Test the u and u# codes for PyArg_ParseTuple. May leak memory in case of an error. @@ -518,7 +517,6 @@ codec_incrementaldecoder(PyObject *self, PyObject *args) return PyCodec_IncrementalDecoder(encoding, errors); } -#endif /* Simple test of _PyLong_NumBits and _PyLong_Sign. */ static PyObject * @@ -863,9 +861,7 @@ static PyMethodDef TestMethods[] = { {"codec_incrementaldecoder", (PyCFunction)codec_incrementaldecoder, METH_VARARGS}, #endif -#ifdef Py_USING_UNICODE {"test_u_code", (PyCFunction)test_u_code, METH_NOARGS}, -#endif #ifdef WITH_THREAD {"_test_thread_state", test_thread_state, METH_VARARGS}, #endif |