Values and objects
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sun May 11 02:40:44 EDT 2014
On Sat, 10 May 2014 22:42:13 -0700, Ethan Furman wrote:
> On 05/10/2014 10:22 PM, Chris Angelico wrote:
>> It's that declaration that creates the variable, not changing locals().
>
> A Python variable is a name bound to a value (and values, of course, are
> objects). If you don't have both pieces, you don't have a Python
> variable.
+1
Well said.
--
Steven D'Aprano
http://import-that.dreamwidth.org/
More information about the Python-list
mailing list