def nice_pair(pair):
start, end = pair<EOL>if start == end:<EOL><INDENT>return "<STR_LIT>" % start<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>" % (start, end)<EOL><DEDENT>
Make a nice string representation of a pair of numbers.

    If the numbers are equal, just return the number, otherwise return the pair
    with a dash between them, indicating the range.