Confusion: assignments create object references.

Lulu of the Lotus-Eaters mertz at gnosis.cx
Fri Apr 11 13:45:48 EDT 2003


"Havens, Peter" <Peter.Havens at Level3.com> wrote previously:
|I am confused about when assignments create references to objects as
|opposed to copying the value of those objects.

This is an easy one to answer:  Assignment ALWAYS creates references to
objects (in Python).

Yours, Lulu...

--
    _/_/_/ THIS MESSAGE WAS BROUGHT TO YOU BY: Postmodern Enterprises _/_/_/
   _/_/    ~~~~~~~~~~~~~~~~~~~~[mertz at gnosis.cx]~~~~~~~~~~~~~~~~~~~~~  _/_/
  _/_/  The opinions expressed here must be those of my employer...   _/_/
 _/_/_/_/_/_/_/_/_/_/ Surely you don't think that *I* believe them!  _/_/






More information about the Python-list mailing list