Skip to content
RED SAG Skills
hard20 pts · first answer countshash-mappython

Dataclass objects in a Python set

A plain @dataclass Point(x, y) raises TypeError: unhashable type when added to a set. Why, and what fixes it?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions