From 31c03c9998d96ac98f81836431a081deca5221f6 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Thu, 29 Dec 2005 14:39:28 +0000 Subject: two missing PyDoc_STR(). --- Modules/operator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Modules/operator.c') diff --git a/Modules/operator.c b/Modules/operator.c index 4e1e517f6d..3223ce324e 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[] = { -- cgit v1.2.1