diff mercurial/color.py @ 39481:b6a0e06b0f7d

lazyancestors: extract __iter__ to free function The next patch will keep a reference to the returned iterator in a field, which would otherwise result in a reference cycle. Differential Revision: https://phab.mercurial-scm.org/D4517
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 09 Sep 2018 23:16:55 -0700
parents ddc1da134772
children 3b421154d2ca
line wrap: on
line diff