summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-08 04:53:48 (GMT)
committerFred Drake <fdrake@acm.org>2000-07-08 04:53:48 (GMT)
commit0c89d4ec9adabbb1365a69ad8a556f20802c89d0 (patch)
tree67240924057173cb68731517cb4925bf56ebc5bc
parent7d3a511a40a8c90eac66d3d59edbbe3c3d4559b1 (diff)
downloadcpython-0c89d4ec9adabbb1365a69ad8a556f20802c89d0.zip
cpython-0c89d4ec9adabbb1365a69ad8a556f20802c89d0.tar.gz
cpython-0c89d4ec9adabbb1365a69ad8a556f20802c89d0.tar.bz2
Pretensions of the 20th century... remove old-style preprocessor
hackery (/**/), leaving only new-style preprocessor hackery (##).
-rw-r--r--Modules/operator.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/operator.c b/Modules/operator.c
index cd86956..46e5b51 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[] = {