micropython/tests/bytecode/mp-tests/with1.py

9 lines
95 B
Python

with x:
f()
with x():
f()
with f() as x:
f(x)
with f() as x, g() as y:
f(x, y)