def previous_current_next(items):
    extend = itertools.chain([None], items, [None])
    previous, current, next = itertools.tee(extend, 3)
    try:
        current.next()
        next.next()
        next.next()
    except StopIteration:
        pass
    return itertools.izip(previous, current, next)

#@register.filter
Recursively strip style from the current representation.
dataset/ETHPy150Open kylef-archive/lithium/lithium/forum/templatetags/forum.py/previous_current_next--crossover with--dataset/ETHPy150Open plotly/plotly.py/plotly/graph_objs/graph_objs.py/PlotlyDict.strip_style