On Tue, 10 Sep 2013 17:38:26 -0300 "Joao S. O. Bueno" <jsbu...@python.org.br> wrote: > On 10 September 2013 16:08, Paul Moore <p.f.mo...@gmail.com> wrote: > > If you provide "retain the last", I can't see any obvious way of > > implementing "retain the first" in application code without in effect > > reimplementing the class. > > Which reminds one - this class should obviously have a method for > retrivieng the original key value, given a matching key - > > d.canonical('foo') -> 'Foo'
I don't know. Is there any use case? (sure, it is trivially implemented) Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com