diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-02 11:46:20 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-02 11:46:20 (GMT) |
commit | ea3f305a25fc9a1f5824b0a0ad4ea3f17c896b21 (patch) | |
tree | 2aaa6d9048836d869d538db66c5fd78ca4c42f6b /Modules/_testcapimodule.c | |
parent | 749261e241849834a5cfc70808260a534e50875f (diff) | |
download | cpython-ea3f305a25fc9a1f5824b0a0ad4ea3f17c896b21.zip cpython-ea3f305a25fc9a1f5824b0a0ad4ea3f17c896b21.tar.gz cpython-ea3f305a25fc9a1f5824b0a0ad4ea3f17c896b21.tar.bz2 |
Oops, revert unwanted _testcapi changes of r85174
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 912ba17..d2d3b19 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -1386,7 +1386,7 @@ test_widechar(PyObject *self) } static PyObject * -unicode_aswidechar(PyObject *self, PyObject *args) +test_aswidechar(PyObject *self, PyObject *args) { PyObject *unicode, *result; Py_ssize_t buflen, size; @@ -1417,7 +1417,7 @@ unicode_aswidechar(PyObject *self, PyObject *args) } static PyObject * -unicode_aswidecharstring(PyObject *self, PyObject *args) +test_aswidecharstring(PyObject *self, PyObject *args) { PyObject *unicode, *result; Py_ssize_t size; @@ -2321,8 +2321,8 @@ static PyMethodDef TestMethods[] = { {"test_u_code", (PyCFunction)test_u_code, METH_NOARGS}, {"test_Z_code", (PyCFunction)test_Z_code, METH_NOARGS}, {"test_widechar", (PyCFunction)test_widechar, METH_NOARGS}, - {"unicode_aswidechar", unicode_aswidechar, METH_VARARGS}, - {"unicode_aswidecharstring",unicode_aswidecharstring, METH_VARARGS}, + {"test_aswidechar", test_aswidechar, METH_VARARGS}, + {"test_aswidecharstring", test_aswidecharstring, METH_VARARGS}, #ifdef WITH_THREAD {"_test_thread_state", test_thread_state, METH_VARARGS}, {"_pending_threadfunc", pending_threadfunc, METH_VARARGS}, |