What values can be dictionary keys?
📁 Advanced Python Topics, Error
The documentation says that only immutable data types can be keys. Why in this case there is no error?
class test : pass t = test () print ({t: 1 }) No answers yet.
Log in to leave an answer