Mercurial > hg
diff mercurial/hg.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 | cd79fb4d75fd |
children | 7cc77030c557 |