def __str__(self):
        return "".join([self.package, self.version or ""])
def warn(txt, act, opt):
    if opt.get('display_examples'):
        print(txt + ":\n" + str(act))
    else:
        warn_once(txt)