operator overloading + - / * = etc...
Piet van Oostrum
piet at cs.uu.nl
Tue Oct 10 13:08:45 EDT 2006
>>>>> Steven D'Aprano <steve at REMOVE.THIS.cybersource.com.au> (SD) wrote:
>SD> Despite sloppy talk to the contrary (which I think most of us do from time
>SD> to time), Python doesn't have variables. It has names and objects. Names
>SD> are just labels -- there is no difference in behavior between the *names*
>SD> this_is_an_integer and this_is_a_string. (The *objects* they point to are
>SD> a different story, naturally.)
The official Python documentation (language reference manual) talks a lot
about variables. So it seems silly to say that Python doesn't have
variables.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Python-list
mailing list