diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-08-13 22:20:41 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-08-13 22:20:41 (GMT) |
commit | 200788ce4594bb4ddf47b319f45d99c8206dc0ec (patch) | |
tree | 5898dd92de09d73df8baa03e54053fe726057619 /Modules/operator.c | |
parent | 5dc2a37f0f42db96b30c35d273e1ea09e479e478 (diff) | |
download | cpython-200788ce4594bb4ddf47b319f45d99c8206dc0ec.zip cpython-200788ce4594bb4ddf47b319f45d99c8206dc0ec.tar.gz cpython-200788ce4594bb4ddf47b319f45d99c8206dc0ec.tar.bz2 |
Allow more docstrings to be removed during compilation in some modules
Diffstat (limited to 'Modules/operator.c')
-rw-r--r-- | Modules/operator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/operator.c b/Modules/operator.c index c1bf468..229fbac 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[] = { |