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