| 18 | # The history is that 2.7 support is the cleanest, |
| 19 | # then from that we got 2.6 and so on. |
| 20 | class Scanner24(scan.Scanner25): |
| 21 | def __init__(self, show_asm=False): |
| 22 | scan.Scanner25.__init__(self, show_asm) |
| 23 | # These are the only differences in initialization between |
| 24 | # 2.4, 2.5 and 2.6 |
| 25 | self.opc = opcode_24 |
| 26 | self.opname = opcode_24.opname |
| 27 | self.version = (2, 4) |
| 28 | self.genexpr_name = "<generator expression>" |
| 29 | return |
| 30 | |
| 31 | |
| 32 | if __name__ == "__main__": |