Feb-27-2023, 06:09 PM
is it possible to create an object that works like a dict (e.g. can be indexed by any hashable key) but an internal method is called for fetching and storing values which gets the key and the value to store and returns the value that results from fetching?