diff --git a/test/bytecode_2.7/05_const_map.pyc b/test/bytecode_2.7/05_const_map.pyc new file mode 100644 index 00000000..d383fc04 Binary files /dev/null and b/test/bytecode_2.7/05_const_map.pyc differ diff --git a/test/bytecode_3.4/05_ifelse.pyc b/test/bytecode_3.4/05_ifelse.pyc index 85cfc88e..666f1c26 100644 Binary files a/test/bytecode_3.4/05_ifelse.pyc and b/test/bytecode_3.4/05_ifelse.pyc differ diff --git a/test/bytecode_3.6/fstring.py b/test/bytecode_3.6/fstring.py deleted file mode 100644 index 32b6fadc..00000000 --- a/test/bytecode_3.6/fstring.py +++ /dev/null @@ -1,5 +0,0 @@ -def fn(var1, var2): - return f'interpolate {var1} strings {var2} py36' - - -fn('a', 'b') \ No newline at end of file diff --git a/test/bytecode_3.6/fstring_single.py b/test/bytecode_3.6/fstring_single.py deleted file mode 100644 index 7df632f5..00000000 --- a/test/bytecode_3.6/fstring_single.py +++ /dev/null @@ -1,2 +0,0 @@ -def fn(var): - return f'interpolate {var} strings' \ No newline at end of file diff --git a/uncompyle6/parsers/parse35.py b/uncompyle6/parsers/parse35.py index 66407ca2..8eb329e4 100644 --- a/uncompyle6/parsers/parse35.py +++ b/uncompyle6/parsers/parse35.py @@ -40,6 +40,7 @@ class Python35Parser(Python3Parser): # RETURN_END_IF vs RETURN_VALUE ifelsestmtc ::= testexpr c_stmts_opt JUMP_FORWARD else_suitec + # ifstmt ::= testexpr c_stmts_opt # Python 3.3+ also has yield from. 3.5 does it # differently than 3.3, 3.4