identity of the caller?

Warren Postma embed at geocities.com
Thu Feb 24 09:17:15 EST 2000


> I'm doubt it too. I suspect there is a more clever way to do it, just that
> I am not clever enough to at the moment to think of it.

Sometimes the obvious is just too obvious.

Senders call receivers, and pass a reference to themselves as a PARAMETER to
the function, called Sender. Who called me? Well, I'll just look at the
parameter 'Sender'.

Warren





More information about the Python-list mailing list