| 1 |
# flags: --minimum-version=3.10 |
| 2 |
with (CtxManager() as example): |
| 3 |
... |
| 4 |
|
| 5 |
with (CtxManager1(), CtxManager2()): |
| 6 |
... |
| 7 |
|
| 8 |
with (CtxManager1() as example, CtxManager2()): |
| 9 |
... |
| 10 |
|
| 11 |
with (CtxManager1(), CtxManager2() as example): |
| 12 |
... |
| 13 |
|
| 14 |
with (CtxManager1() as example1, CtxManager2() as example2): |
| 15 |
... |
| 16 |
|
| 17 |
with ( |
| 18 |
CtxManager1() as example1, |
| 19 |
CtxManager2() as example2, |
| 20 |
CtxManager3() as example3, |
| 21 |
): |
| 22 |
... |
| 23 |
|
| 24 |
# output |
| 25 |
|
| 26 |
with CtxManager() as example: |
| 27 |
... |
| 28 |
|
| 29 |
with CtxManager1(), CtxManager2(): |
| 30 |
... |
| 31 |
|
| 32 |
with CtxManager1() as example, CtxManager2(): |
| 33 |
... |
| 34 |
|
| 35 |
with CtxManager1(), CtxManager2() as example: |
| 36 |
... |
| 37 |
|
| 38 |
with CtxManager1() as example1, CtxManager2() as example2: |
| 39 |
... |
| 40 |
|
| 41 |
with ( |
| 42 |
CtxManager1() as example1, |
| 43 |
CtxManager2() as example2, |
| 44 |
CtxManager3() as example3, |
| 45 |
): |
| 46 |
... |