diff --git a/test/bytecode_2.7/06_nop.pyc b/test/bytecode_2.7/06_nop.pyc new file mode 100644 index 00000000..0f6f966d Binary files /dev/null and b/test/bytecode_2.7/06_nop.pyc differ diff --git a/test/bytecode_3.6/06_nop.pyc b/test/bytecode_3.6/06_nop.pyc new file mode 100644 index 00000000..f0420f2b Binary files /dev/null and b/test/bytecode_3.6/06_nop.pyc differ diff --git a/uncompyle6/parser.py b/uncompyle6/parser.py index 2409f9f1..35d9bb55 100644 --- a/uncompyle6/parser.py +++ b/uncompyle6/parser.py @@ -391,6 +391,10 @@ class PythonParser(GenericASTBuilder): returns ::= return returns ::= _stmts return + + # NOP + stmt ::= nop_stmt + nop_stmt ::= NOP """ pass