How can I get the name of an object???
Oleg Broytmann
phd at phd.russ.ru
Thu Apr 27 06:03:54 EDT 2000
On Thu, 27 Apr 2000 spex66 at my-deja.com wrote:
> > An object could be referred to by any number of names:
> >
> > dd = zz ()
> > ee = dd
> >
> > Which name for the object do you wish to know? ee or dd?
> dd or in other words, the name of the FIRST made instance... I tried to
dd = zz ()
ee = dd
del dd
What is the name now? (ee still holds the reference to the object)
Oleg. (All opinions are mine and not of my employer)
----
Oleg Broytmann Foundation for Effective Policies phd at phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list