From: Armin Rigo Date: Thu, 29 Dec 2005 14:39:28 +0000 (+0000) Subject: two missing PyDoc_STR(). X-Git-Tag: v2.5a0~936 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c4308d5be64a622ee7be685c5eb05f90782711c1;p=thirdparty%2FPython%2Fcpython.git two missing PyDoc_STR(). --- diff --git a/Modules/operator.c b/Modules/operator.c index 4e1e517f6d25..3223ce324e5f 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -177,10 +177,10 @@ op_delslice(PyObject *s, PyObject *a) #undef spam1o #undef spam1o #define spam1(OP,DOC) {#OP, OP, METH_VARARGS, PyDoc_STR(DOC)}, -#define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, DOC}, \ +#define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)}, \ {#ALTOP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)}, #define spam1o(OP,DOC) {#OP, OP, METH_O, PyDoc_STR(DOC)}, -#define spam2o(OP,ALTOP,DOC) {#OP, op_##OP, METH_O, DOC}, \ +#define spam2o(OP,ALTOP,DOC) {#OP, op_##OP, METH_O, PyDoc_STR(DOC)}, \ {#ALTOP, op_##OP, METH_O, PyDoc_STR(DOC)}, static struct PyMethodDef operator_methods[] = {