import string


def get_ignore(argp):
    """
    Returns a pool of characters which will be ignored. 
    """
    ret = argp.ignore
    if argp.igp:
        ret += string.punctuation + " \n\r"
    if argp.ign:
        ret += string.digits
    return "".join(set(ret))