summaryrefslogtreecommitdiff
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2011-09-19 17:11:26 +0200
committerJesus Cea <jcea@jcea.es>2011-09-19 17:11:26 +0200
commit5709b0a9933ce87f78389617abfd934fd113ba5f (patch)
treead751c5cbc2f43440c1faf775e102decfa0f9dcb /Python/makeopcodetargets.py
parent66c4188b352a7c021c7b83f70d1a1e54bbed45df (diff)
parent016d82354232e8a1924135ff10fac70cf5c720b9 (diff)
downloadcpython-5709b0a9933ce87f78389617abfd934fd113ba5f.tar.gz
Close #13007: whichdb should recognize gdbm 1.9 magic numbers
Diffstat (limited to 'Python/makeopcodetargets.py')
-rwxr-xr-xPython/makeopcodetargets.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/makeopcodetargets.py b/Python/makeopcodetargets.py
index 5d8e5a9a46..d9a085552f 100755
--- a/Python/makeopcodetargets.py
+++ b/Python/makeopcodetargets.py
@@ -23,9 +23,6 @@ def write_contents(f):
opcode = find_module("opcode")
targets = ['_unknown_opcode'] * 256
for opname, op in opcode.opmap.items():
- if opname == "STOP_CODE":
- # XXX opcode not implemented
- continue
targets[op] = "TARGET_%s" % opname
f.write("static void *opcode_targets[256] = {\n")
f.write(",\n".join([" &&%s" % s for s in targets]))