This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
Watch
1
Star
0
Fork
0
You've already forked micropython
mirror of
https://github.com/licsber/micropython.git
synced
2024-09-21 09:30:24 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
7e7940c39d
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-30 02:21:02 +08:00
def
f
(
)
:
yield from
a
yield from
(
a
,
b
)
yield from
f
(
a
)
py, compiler: Allow lambda's to yield.
2014-04-11 21:10:21 +08:00
lambda
:
(
yield
)
lambda
:
(
yield
1
)
+
2
Reference in New Issue
Copy Permalink