diff options
author | Armin Rigo <arigo@tunes.org> | 2005-12-29 14:39:28 (GMT) |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2005-12-29 14:39:28 (GMT) |
commit | c4308d5be64a622ee7be685c5eb05f90782711c1 (patch) | |
tree | ce3ee439ecbae717e696325fbabeaf4caf47c445 /Modules/operator.c | |
parent | 8bdaac7f95205cdae2ffddff3d3ca773f188cc30 (diff) | |
download | cpython-c4308d5be64a622ee7be685c5eb05f90782711c1.zip cpython-c4308d5be64a622ee7be685c5eb05f90782711c1.tar.gz cpython-c4308d5be64a622ee7be685c5eb05f90782711c1.tar.bz2 |
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 4e1e517..3223ce3 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[] = { |