why does this fail on python 2.2?

Rob Williscroft rtw at freenet.co.uk
Mon Aug 30 17:46:54 CEST 2004


John Hunter wrote in news:mailman.2611.1093878644.5135.python-
list at python.org in comp.lang.python:

> class Results(object):
>     __slots__ = ( "__doinit" )
>     def __new__(cls):


> AttributeError: 'Results' object has no attribute '_Results__doinit'
> 

Its in the Traceback:

    __slots__ = [ '_Results__doinit' ]

Rob.
-- 
http://www.victim-prime.dsl.pipex.com/



More information about the Python-list mailing list