import collections


class InfoString(collections.UserString):
    "A string with some extra info"

    def __init__(self, seq, info):
        super(InfoString, self).__init__(seq)
        self.info = info
