Proper class initialization
Leif K-Brooks
eurleif at ecritters.biz
Wed Mar 1 19:31:02 EST 2006
Steven Bethard wrote:
> class A(object):
> def _get_sum():
> return sum(xrange(10))
> sum = _get_sum()
What's wrong with sum = sum(xrange(10))?
More information about the Python-list
mailing list