2008-07-13 | Paul Boddie | raw files shortlog changelog graph | Commit long uncommitted changes. | |
tests/global.py (file) |
1.1 --- a/tests/global.py Sun Oct 14 22:46:36 2007 +0200 1.2 +++ b/tests/global.py Sun Jul 13 20:49:10 2008 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 a = 123 1.5 1.6 def f(x): 1.7 - global a 1.8 + global a, c 1.9 a = x 1.10 1.11 def g(a): 1.12 @@ -12,8 +12,9 @@ 1.13 1.14 class A: 1.15 x = a 1.16 - global a 1.17 + global a, b 1.18 y = a 1.19 + b = 321 1.20 1.21 f(234) 1.22 g(345)