__init__
should not be listed in the __slots__
attribute of the class; slots cannot refer to methods as each slot is implemented by a descriptor object instead.
There is a pull request in the project repository that fixes that specific problem. It simply removes the "__init__"
string from the __slots__
definition.
Do note that the authors of the package have abandoned the project:
DEVELOPMENT STOPPED - 03.01.2011
I doubt that there will ever be a stable version of xlwt3.