kj wrote:

> Because, as I've explained elsewhere, it is not a method: it's a
> "helper" function, meant to be called only once, within the class
> statement itself.

So why didn't you delete it after you were done with it?

Class Demo(object):
    def fact(x):
        ...

    _classvar = fact(5)
    del fact()
-- 
Stephen Fairchild
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to