Ned custom 3.7+ IfExp rules

This commit is contained in:
rocky
2019-05-04 22:57:06 -04:00
parent 8e9ce0be31
commit bb94c7f5bc
2 changed files with 9 additions and 4 deletions

View File

@@ -56,6 +56,7 @@ def customize_for_version37(self, version):
(0, 19 ) ),
'compare_chained2c_37': (
'%[3]{pattr.replace("-", " ")} %p %p', (0, 19), (6, 19) ),
'conditional37': ( '%p if %p else %p', (1, 'expr', 27), (0, 27), (4, 'expr', 27) ),
'ifexp_37a': ( '%p if %p else %p', (1, 'expr', 27), (0, 27), (4, 'expr', 27) ),
'ifexp_37b': ( '%p if %p else %p', (2, 'expr', 27), (0, 'expr', 27), (5, 'expr', 27) ),
})