9 Oct
2013
9 Oct
'13
3:58 a.m.
On Tue, 8 Oct 2013 23:36:05 +0400
Yuriy Taraday
On Tue, Oct 8, 2013 at 10:17 PM, MRAB
wrote: If you don't need the original key, then you might as well just use a transform function with a dict.
As I understood, storing original keys is not the purpose of TransformDict, allowing hashing on something other then provided key itself is. This part presents interest for the cases I mentioned.
The purpose is really dual. If we didn't want to retain the original keys, a dedicated class would be much less justified. Regards Antoine.