anything like C++ references?

Aahz aahz at
Mon Jul 14 03:32:37 CEST 2003

In article <mailman.1058126720.6756.python-list at>,
Ian Bicking  <ianb at> 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           <*>

"Not everything in life has a clue in front of it...."  --JMS

More information about the Python-list mailing list