Beispiel #1
0
 def get_header_text(a_rng: Tuple[int, int],
                     b_rng: Tuple[int, int],
                     affix: str = '@@') -> str:
     """Provide header for any ranges."""
     a_rng = format_range_unified(*a_rng)
     b_rng = format_range_unified(*b_rng)
     return '{0} -{1} +{2} {0}'.format(affix, a_rng, b_rng)
Beispiel #2
0
 def get_header_text(a_rng, b_rng, affix='@@'):
     """Provide header for any ranges."""
     a_rng = format_range_unified(*a_rng)
     b_rng = format_range_unified(*b_rng)
     return '{0} -{1} +{2} {0}'.format(affix, a_rng, b_rng)
Beispiel #3
0
 def get_header_text(a_rng, b_rng, affix='@@'):
     """Provide header for any ranges."""
     a_rng = format_range_unified(*a_rng)
     b_rng = format_range_unified(*b_rng)
     return '{0} -{1} +{2} {0}'.format(affix, a_rng, b_rng)