comparison mercurial/lsprofcalltree.py @ 22225:baecf4e1b7d0

ancestors: add a __nonzero__ method This allows using the object in a conditional the same way we can use list.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 15 Aug 2014 15:57:50 -0700
parents beae42f3d93b
children 071af8d385a9
comparison
equal deleted inserted replaced
22224:f713de1d3916 22225:baecf4e1b7d0