Mercurial > python-compiler.rs
view example/test.py @ 74:97537c90d92d
Add ast.Yield.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Mon, 13 Jun 2016 18:25:02 +0200 |
parents | 211b0df72e64 |
children |
line wrap: on
line source
value = 2 def function(a, b): return a + b if __name__ == '__main__': print(function(value, 2 + 2))