def _display_tag(tag_tuple):
    """Pretty-print tag tuple"""
    tagkey, category, data = tag_tuple
    out = ("Tag: '{tagkey}' (category: {category}{dat})".format(
           tagkey=tagkey, category=category, dat=", data: {}".format(data) if data else ""))
    return out