@environmentfilter
def do_random(environment, seq):
    """Return a random item from the sequence."""
    try:
        return choice(seq)
    except __HOLE__:
        return environment.undefined('No random item, sequence was empty.')
dataset/ETHPy150Open IanLewis/kay/kay/lib/jinja2/filters.py/do_random