micropython/trans.py | raw changeset files shortlog |
1.1 --- a/micropython/trans.py Sat Jul 10 23:23:29 2010 +0200 1.2 +++ b/micropython/trans.py Sun Jul 11 01:17:11 2010 +0200 1.3 @@ -1097,7 +1097,7 @@ 1.4 # Return None for normal functions without explicit return 1.5 # statements. 1.6 1.7 - if fn.name is not None: 1.8 + if not fn.is_lambda(): 1.9 self.dispatch(compiler.ast.Name("None")) 1.10 1.11 self.new_op(StoreResult())