b.merge3 : module documentation

Part of bzrlib

No module docstring
Function intersect Given two ranges return the range where they intersect or None.
Function compare_range Compare a[astart:aend] == b[bstart:bend], without slicing.
Class Merge3 3-way merge of texts.
Function main Undocumented
def intersect(ra, rb):

Given two ranges return the range where they intersect or None.

>>> intersect((0, 10), (0, 6))
(0, 6)
>>> intersect((0, 10), (5, 15))
(5, 10)
>>> intersect((0, 10), (10, 15))
>>> intersect((0, 9), (10, 15))
>>> intersect((0, 9), (7, 15))
(7, 9)
def compare_range(a, astart, aend, b, bstart, bend):
Compare a[astart:aend] == b[bstart:bend], without slicing.
def main(argv):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2014-09-03 00:02:40.