view mercurial/__init__.py @ 23761:19d6271a70db

namespaces: add __iter__ and iteritems methods Iterating over all the namespaces is a common operation, naturally, so we add those methods now. Since we are using a sorted dictionary, this method just calls the underlying __iter__ or iteritems method.
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 22 Dec 2014 09:07:37 -0800
parents 9117c6561b0b
children 4374d819ccd5
line wrap: on
line source