how to hash a variable assigned to a class in python code example Example: hash in python hash(object)