Python variables are bound to types when used?

Steven D'Aprano steve at REMOVETHIScyber.com.au
Wed Oct 19 19:23:34 EDT 2005


On Wed, 19 Oct 2005 20:06:53 +0000, Grant Edwards wrote:

>> Now, in Python variables are bound to types when used, right?
> 
> Python doesn't have variables.
> 
> Python has objects of various types.  You can bind 0 or more
> names an object.

I frequently use "variable" as a synonym for "name" when talking about
Python code. Do people think I am wrong to do so?


-- 
Steven.




More information about the Python-list mailing list