On Apr 27, 2009, at 6:10 PM, Greg Ewing wrote:

> Robert Bradshaw wrote:
>
>> class A:
>>      pass
>>
>> cdef class B:
>>      pass
>>
>> Then there will be exactly one instance of A and one instance of B
>> floating around
>
> Um, no, there are *no* instances of A or B until you
> create some, e.g.
>
>    a = A()
>    b = B()

I mean there's only one "A" object in the sense that there's only one  
"tuple" object. "Instance" was arguable a bad word to choose here  
(but it was the one used in the question).

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to