[Tutor] use of the newer dict types

eryksun eryksun at gmail.com
Fri Jul 26 02:05:24 CEST 2013


On Thu, Jul 25, 2013 at 7:03 PM, Jim Mooney <cybervigilante at gmail.com> wrote:
> Ah, now that makes some sense - they literally change as the
> dictionary does. That could be useful:

Just to be clear, the view object doesn't change. Its __repr__,
__len__, rich comparison, and set methods are tied to the underlying
dict. As long as the view exists, the dict won't be garbage collected.


More information about the Tutor mailing list