Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

R = ZZ; S = ZZ; R==S is False

No really this comes up as "True", but for my class which I derived from the Ring Class, something like this comes up as False. How can I avoid this?

click to hide/show revision 2
move example to question, change title

R = ZZ; S = ZZ; R==S is FalseComparing objects in Python

sage: R = ZZ
sage: S = ZZ
sage: R == S
<False>

No really this comes up as "True", but for my class which I derived from the Ring Class, something like this comes up as False. How can I avoid this?