[Tutor] TypeError: unhashable type: 'pygame.math.Vector2'

Mats Wichmann mats at wichmann.us
Thu Jun 25 12:17:52 EDT 2020


On 6/25/20 10:06 AM, Mats Wichmann wrote:

sigh... think one thing, write another:

> Your Q is a dictionary;
> 
>     Q = {}
> 
> and dicts specifically have the restriction that the type be hashable

... that the _key_ be hashable ...


More information about the Tutor mailing list