def lambdarepr(expr, **settings):
 return LambdaPrinter(settings).doprint(expr)

def lambdarepr ( expr , ** settings ) : return LambdaPrinter ( settings ) . doprint ( expr )
returns a string usable for lambdifying .