On Sat, 26 Aug 2017 13:23:00 -0400 Yury Selivanov <yselivanov...@gmail.com> wrote: > > > > A good point; however, ChainMap, which behaves similarly as far as lookup > > goes, uses "get" and does not have a "lookup" method. I think we lose more > > than we gain by changing that method name. > > ChainMap is constrained to be a Mapping-like object, but I get your > point. Let's see what others say about the "lookup()". It is kind of > an experiment to try a name and see if it fits.
I like "get()" better than "lookup()". 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