This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Annotations for __eq__
#12
Labels
wait-for-council
Issues that should not be addressed until the Typing Council exists
The spec should say something about how
__eq__
methods should be written and annotated.A few considerations:
A() == B()
and verify whether it can ever return True.__eq__
returning a non-boolean (classic example: numpy arrays)__eq__
methods that return NotImplemented on unrecognized types versus those that throw an errorThe text was updated successfully, but these errors were encountered: