From 200788ce4594bb4ddf47b319f45d99c8206dc0ec Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 13 Aug 2002 22:20:41 +0000 Subject: Allow more docstrings to be removed during compilation in some modules --- 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 c1bf468955..229fbac101 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -146,9 +146,9 @@ op_delslice(PyObject *s, PyObject *a) #undef spam1 #undef spam2 -#define spam1(OP,DOC) {#OP, OP, METH_VARARGS, DOC}, +#define spam1(OP,DOC) {#OP, OP, METH_VARARGS, PyDoc_STR(DOC)}, #define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, DOC}, \ - {#ALTOP, op_##OP, METH_VARARGS, DOC}, + {#ALTOP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)}, static struct PyMethodDef operator_methods[] = { -- cgit v1.2.1