You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Fix precidence between list_if and if_expr in 3.x
This commit is contained in:
@@ -22,7 +22,10 @@ def customize_for_version37(self, version):
|
||||
# Python 3.7+ changes
|
||||
#######################
|
||||
|
||||
PRECEDENCE['attribute37'] = 2
|
||||
PRECEDENCE['attribute37'] = 2
|
||||
PRECEDENCE['ifexp_37a'] = 28
|
||||
PRECEDENCE['ifexp_37b'] = 28
|
||||
|
||||
TABLE_DIRECT.update({
|
||||
'and_not': ( '%c and not %c',
|
||||
(0, 'expr'), (2, 'expr') ),
|
||||
|
Reference in New Issue
Block a user