(local_ref)
| 2067 | # Basic test of the 4 different resolution mechanisms |
| 2068 | def f(nonlocal_ref): |
| 2069 | def g(local_ref): |
| 2070 | print(local_ref, nonlocal_ref, _global_ref, unbound_ref) |
| 2071 | return g |
| 2072 | _arg = object() |
| 2073 | nonlocal_vars = {"nonlocal_ref": _arg} |