def mathml(expr, **settings):
 return MathMLPrinter(settings).doprint(expr)

def mathml ( expr , ** settings ) : return MathMLPrinter ( settings ) . doprint ( expr )
returns the mathml representation of expr .