summaryrefslogtreecommitdiff
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-08-04 00:56:19 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2012-08-04 00:56:19 +0200
commitb0f1dbb51e0c28a801c8c3e9992453de14c5e436 (patch)
treedad2470e591823bf79bc9ea8a5a7923b928e9f4a /Python/makeopcodetargets.py
parent8cc05cc705495cfb6bf6a35600ba9a4a4c9e2b2c (diff)
parent6a18048c636a6fcc31c56906952f1e470cb5412b (diff)
downloadcpython-b0f1dbb51e0c28a801c8c3e9992453de14c5e436.tar.gz
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
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]))