diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-12-17 20:46:29 +0100 |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-12-17 20:46:29 +0100 |
commit | 256a72f8e9db70a130289a61f3c42724b53a5c8c (patch) | |
tree | 07cc937c010871cf2ab2e7254fa929febac8a20f /Python/makeopcodetargets.py | |
parent | 2f0e84852b01098904a180a66569a40ba93425d6 (diff) | |
parent | 9d1c74a5371d09c4867cae87e762954fd4053092 (diff) | |
download | cpython-256a72f8e9db70a130289a61f3c42724b53a5c8c.tar.gz |
Issue 16646 (ftplib): deliberately use intermediate variable after catching exception
Diffstat (limited to 'Python/makeopcodetargets.py')
-rwxr-xr-x | Python/makeopcodetargets.py | 3 |
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])) |