diff options
author | Fred Drake <fdrake@acm.org> | 2000-07-08 04:53:48 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-07-08 04:53:48 +0000 |
commit | 101a3a2bd647fdc65ced629b4270ab0ca0b544f9 (patch) | |
tree | 0cd180dd77f603fb8225d0369f599b6a0354fb2a /Modules/operator.c | |
parent | 5377df5b0944679f1361b2f7eda0421b772310b2 (diff) | |
download | cpython-101a3a2bd647fdc65ced629b4270ab0ca0b544f9.tar.gz |
Pretensions of the 20th century... remove old-style preprocessor
hackery (/**/), leaving only new-style preprocessor hackery (##).
Diffstat (limited to 'Modules/operator.c')
-rw-r--r-- | Modules/operator.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/operator.c b/Modules/operator.c index cd86956e34..46e5b516a1 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -184,15 +184,9 @@ op_delslice(PyObject *s, PyObject *a) #undef spam1 #undef spam2 -#ifdef HAVE_OLD_CPP -#define spam1(OP,DOC) {"OP", OP, METH_VARARGS, DOC}, -#define spam2(OP,ALTOP,DOC) {"OP", op_/**/OP, METH_VARARGS, DOC}, \ - {"ALTOP", op_/**/OP, METH_VARARGS, DOC}, -#else #define spam1(OP,DOC) {#OP, OP, METH_VARARGS, DOC}, #define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, DOC}, \ {#ALTOP, op_##OP, METH_VARARGS, DOC}, -#endif static struct PyMethodDef operator_methods[] = { |