cls refers to the class (SomeClass), not the object (b).

On Sat, Apr 21, 2012 at 7:18 PM, alexandr popov
<alexandr.s.po...@gmail.com>wrote:

> The problem is that I am using a cls.property = True in a __new__ method.
>
> Solved by adding __init__ method inherited class implementation
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/D2kgi6oViyIJ.
>
> To post to this group, send email to sympy@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to