anything like C++ references?
Aahz
aahz at pythoncraft.com
Sun Jul 13 21:32:37 EDT 2003
In article <mailman.1058126720.6756.python-list at python.org>,
Ian Bicking <ianb at colorstudy.com> wrote:
>
>(Admittedly, some confusion may occur because these very different
>operations use the same syntax:
>
> x = 10
> x[0] = 10
> obj.x = 10
>
>The second and third are entirely different from the first.)
No, they aren't. They are precisely the same; they just have different
assignment targets.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Not everything in life has a clue in front of it...." --JMS
More information about the Python-list
mailing list