Description

Decorator that converts a function into a filter::

@simplefilter
def lowercase(lexer, stream, options):
    for ttype, value in stream:
        yield ttype, value.lower()

simplefilter is referenced in 0 repositories