Curious assignment behaviour
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Fri Oct 19 07:26:22 EDT 2001
Fri, 19 Oct 2001 11:59:43 +0200, Nomad <nomad***@***freemail.absa.co.za> pisze:
> I'm probably over my head (and more than likely rambling as well),
> but in "let x = y" doesn't the 'let' denote that the value of 'x'
> will be changed?
It depends on the language. There are languages where 'let x = y'
introduces the name x, defined as y, and its value can't change.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list