Gunter Henriksen wrote:
Anyone else?

If there is a function which triggers a one-shot switch, I
like to have a way to find out if it has already been triggered,
I prefer to have the function tell me if it triggered the switch
or not, but I would not want that to be by raising an exception.

The 'file' class also has a 'closed' method, so that's a good model to
follow.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to