diff options
author | Armin Rigo <arigo@tunes.org> | 2005-12-29 14:39:28 +0000 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2005-12-29 14:39:28 +0000 |
commit | 31c03c9998d96ac98f81836431a081deca5221f6 (patch) | |
tree | cdef76cb86a6c70600693edd42e40c3be69d5f3a /Modules/operator.c | |
parent | ac87c14eb17be3df8c56a90f1ed4ca568f2c1f07 (diff) | |
download | cpython-31c03c9998d96ac98f81836431a081deca5221f6.tar.gz |
two missing PyDoc_STR().
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 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[] = { |