On 9/30/13 3:34 PM, Dave Angel wrote:
Python doesn't actually have variables, but the things it documents as
variables are local names within a method.  Those are not visible
outside of the method, regardless of whether you're in a class or a
subclass.

Why does this meme persist!? Of course Python has variables, they just don't work like C variables do. If you'd like to know the details: http://nedbatchelder.com/text/names.html

--Ned.
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to