You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Move scanners in its own directory. Dir base-tests -> base_tests so we
can import from that.
This commit is contained in:
@@ -21,7 +21,7 @@ if (sys.version_info > (3, 0)):
|
||||
else:
|
||||
L65536 = long(65536)
|
||||
|
||||
from uncompyle6.opcodes import opcode_25, opcode_26, opcode_27
|
||||
from uncompyle6.opcodes import opcode_25, opcode_26, opcode_27, opcode_34
|
||||
|
||||
|
||||
class Token:
|
||||
@@ -84,6 +84,8 @@ class Scanner(object):
|
||||
self.opc = opcode_26
|
||||
elif version == 2.5:
|
||||
self.opc = opcode_25
|
||||
elif version == 3.4:
|
||||
self.opc = opcode_34
|
||||
|
||||
return self.resetTokenClass()
|
||||
|
||||
|
Reference in New Issue
Block a user