equal
deleted
inserted
replaced
2457 Wrapper structure for lazily adding two structures without losing much |
2457 Wrapper structure for lazily adding two structures without losing much |
2458 performance on the __contains__ method |
2458 performance on the __contains__ method |
2459 |
2459 |
2460 If the ascending attribute is set, that means the two structures are |
2460 If the ascending attribute is set, that means the two structures are |
2461 ordered in either an ascending or descending way. Therefore, we can add |
2461 ordered in either an ascending or descending way. Therefore, we can add |
2462 them mantaining the order by iterating over both at the same time |
2462 them maintaining the order by iterating over both at the same time |
2463 |
2463 |
2464 This class does not duck-type baseset and it's only supposed to be used |
2464 This class does not duck-type baseset and it's only supposed to be used |
2465 internally |
2465 internally |
2466 """ |
2466 """ |
2467 def __init__(self, revs1, revs2, ascending=None): |
2467 def __init__(self, revs1, revs2, ascending=None): |