equal
deleted
inserted
replaced
695 break |
695 break |
696 c = visit.pop(max(visit)) |
696 c = visit.pop(max(visit)) |
697 yield c |
697 yield c |
698 |
698 |
699 def copies(self, c2): |
699 def copies(self, c2): |
700 if not util.hasattr(self, "_copycache"): |
700 if not util.safehasattr(self, "_copycache"): |
701 self._copycache = {} |
701 self._copycache = {} |
702 sc2 = str(c2) |
702 sc2 = str(c2) |
703 if sc2 not in self._copycache: |
703 if sc2 not in self._copycache: |
704 self._copycache[sc2] = copies.pathcopies(c2) |
704 self._copycache[sc2] = copies.pathcopies(c2) |
705 return self._copycache[sc2] |
705 return self._copycache[sc2] |