On 1 fév, 17:50, "jeremito" <[EMAIL PROTECTED]> wrote:
> I am subclassing the array class and have __new__ to initialize and
> create my class. In that class I create not only do I create an array
> object, but I also create some other data in __new__ I want to have
> access to outside of __new__.
jeremito a écrit :
> I am subclassing the array class and have __new__ to initialize and
> create my class. In that class I create not only do I create an array
> object, but I also create some other data in __new__ I want to have
> access to outside of __new__. I tried
>
> self.mydata = mydata
I am subclassing the array class and have __new__ to initialize and
create my class. In that class I create not only do I create an array
object, but I also create some other data in __new__ I want to have
access to outside of __new__. I tried
self.mydata = mydata
but that didn't work.
Can som