[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: variable declaration
From:       "Michael Tobis" <mt () 3planes ! com>
Date:       2005-01-31 23:23:55
Message-ID: 1107213835.138613.117620 () c13g2000cwb ! googlegroups ! com
[Download RAW message or body]

This is definitely a wart:

... z = 42.3
...
... def f():
...    if False:
...       global z
...    z = -666
... 
... f()
... print z

-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic