You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Fix improper 3.0 class handling...
... is like 3.1 not 2.7
This commit is contained in:
@@ -32,6 +32,8 @@ def customize_for_version3(self, version):
|
||||
'store_locals': ( '%|# inspect.currentframe().f_locals = __locals__\n', ),
|
||||
})
|
||||
|
||||
assert version >= 3.0
|
||||
|
||||
if version >= 3.3:
|
||||
def n_yield_from(node):
|
||||
self.write('yield from')
|
||||
|
Reference in New Issue
Block a user