Closed reynoldsnlp closed 5 years ago
Currently, none of the custom objects have equality dunders (def __eq__), so the following fails:
def __eq__
>>> import udar >>> t1 = udar.Text('Мы говорили.') >>> t2 = udar.Text('Мы говорили.') >>> t1 == t2 False
Add these for all the objects that it makes sense to.
Currently, none of the custom objects have equality dunders (
def __eq__
), so the following fails:Add these for all the objects that it makes sense to.