def sstrrepr(expr, **settings):
 p = StrReprPrinter(settings)
 s = p.doprint(expr)
 return s

def sstrrepr ( expr , ** settings ) : p = StrReprPrinter ( settings ) s = p . doprint ( expr ) return s
return expr in mixed str/repr form i .