(inst)
| 27 | from uncompyle6.disas import disco |
| 28 | |
| 29 | def inst_fmt(inst): |
| 30 | if inst.starts_line: |
| 31 | return '\n%4d %6s\t%-17s %r' % (inst.starts_line, inst.offset, inst.opname, |
| 32 | inst.argrepr) |
| 33 | else: |
| 34 | return ' %6s\t%-17s %r' % (inst.offset, inst.opname, inst.argrepr) |
| 35 | |
| 36 | |
| 37 | return |
| 38 | |
| 39 | def compare_ok(version, co): |
| 40 | out = StringIO() |