tests/changed_globals_function.py | raw changeset files shortlog |
1.1 --- a/tests/changed_globals_function.py Wed Jul 04 00:27:29 2012 +0200 1.2 +++ b/tests/changed_globals_function.py Wed Jul 04 00:42:04 2012 +0200 1.3 @@ -12,11 +12,15 @@ 1.4 global x 1.5 x = D 1.6 1.7 +def use(y): 1.8 + return y.p # usage of p 1.9 + 1.10 def f(): 1.11 - return x.p 1.12 + return x.p # ambiguous 1.13 1.14 change() 1.15 result1_456 = x.p 1.16 result2_456 = f() 1.17 +result3_456 = use(x) 1.18 1.19 # vim: tabstop=4 expandtab shiftwidth=4