def METHOD_NAME(oid, data, serial, missing):
    from_mod, from_class = get_pickle_metadata(data)
    if len(missing) > 1:
        plural = "s"
    else:
        plural = ""
    ts = TimeStamp(serial)
    print("oid {} {}.{}".format(hex(u64(oid)), from_mod, from_class))
    print("last updated: {}, tid={}".format(ts, hex(u64(serial))))
    print("refers to invalid object%s:" % plural)
    for oid, info, reason in missing:
        if isinstance(info, tuple):
            description = "%s.%s" % info
        else:
            description = str(info)
        print("\toid {} {}: {!r}".format(oid_repr(oid), reason, description))
    print()