numbers = [1, 2, 3] data[numbers] = len(numbers) print(data)
numbers = (1, 2, 3) data[numbers] = len(numbers) print(data)
Emitted when a dict key is not hashable (i.e. doesn’t define hash method).