'Converts a list of 2-tuples to a list of corresponding regions
This is the opposite of regions_to_tuples and is intended to
deserialize regions serialized using that method
:param tuples:
an iterable of two-element tuples to convert to sublime.Regions'

def tuples_to_regions(self, tuples):

    if (type(tuples) == tuple):
        return [getRegion(tuples[0], tuples[1])]
    return [getRegion(start, end) for (start, end) in tuples]
