summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-01-01 19:59:11 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-01-01 19:59:11 (GMT)
commit7198a525f3e926899ba238f6e6a2e6e9349b7de4 (patch)
tree37b0c13d1b96f38ea912acc9f9c2b7101ffb0e80 /Include/opcode.h
parent653d85fc86afa4b96bafcd1544d7ebf64e2ab6cd (diff)
downloadcpython-7198a525f3e926899ba238f6e6a2e6e9349b7de4.zip
cpython-7198a525f3e926899ba238f6e6a2e6e9349b7de4.tar.gz
cpython-7198a525f3e926899ba238f6e6a2e6e9349b7de4.tar.bz2
Patch #494783: Rename cmp_op enumerators.
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 9508499..df086ef 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -142,9 +142,9 @@ extern "C" {
/* Support for opargs more than 16 bits long */
#define EXTENDED_ARG 143
-/* Comparison operator codes (argument to COMPARE_OP) */
-enum cmp_op {LT=Py_LT, LE=Py_LE, EQ=Py_EQ, NE=Py_NE, GT=Py_GT, GE=Py_GE,
- IN, NOT_IN, IS, IS_NOT, EXC_MATCH, BAD};
+
+enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE, PyCmp_GT=Py_GT, PyCmp_GE=Py_GE,
+ PyCmp_IN, PyCmp_NOT_IN, PyCmp_IS, PyCmp_IS_NOT, PyCmp_EXC_MATCH, PyCmp_BAD};
#define HAS_ARG(op) ((op) >= HAVE_ARGUMENT)