This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1b901c320b
micropython
/
tests
/
bytecode
/
mp-tests
/
yield2.py
8 lines
105 B
Python
Raw
Normal View
History
Unescape
Escape
Add tests to test compiler and emitted byte code.
2013-12-29 18:21:02 +00:00
def
f
(
)
:
yield from
a
yield from
(
a
,
b
)
yield from
f
(
a
)
py, compiler: Allow lambda's to yield.
2014-04-11 14:10:21 +01:00
lambda
:
(
yield
)
lambda
:
(
yield
1
)
+
2