tests/nested_mixed_names.py | raw changeset files shortlog |
1.1 --- a/tests/nested_mixed_names.py Thu Sep 08 21:36:58 2016 +0200 1.2 +++ b/tests/nested_mixed_names.py Thu Sep 08 21:56:20 2016 +0200 1.3 @@ -10,7 +10,7 @@ 1.4 1.5 def f(x): 1.6 x.c() 1.7 - def g(y): # x introduced as default here 1.8 + def g(y, x=x): # x must be introduced as default here 1.9 if y: 1.10 x = D() 1.11 return x.d(), y, a # UnboundLocalError in Python (if y is a false value)