# Revision history [back]

### 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?

 2 move example to question, change title burcin 1188 ●14 ●36 http://erocal.org/burcin

### 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?