mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 04:22:42 +07:00
GitOrigin-RevId: 217ee91cebf600fa0035c2534d1b00878cf41858
11 lines
138 B
Python
11 lines
138 B
Python
import contextlib
|
|
|
|
|
|
@contextlib.contextmanager
|
|
def manager():
|
|
yield 1, 2
|
|
|
|
|
|
def func():
|
|
with manager() as (_, b):
|
|
print(42) |