def FromString(s, more_formatters=(lambda x: None), _constructor=None):
 f = StringIO.StringIO(s)
 return FromFile(f, more_formatters=more_formatters, _constructor=_constructor)

def FromString ( s , more_formatters = ( lambda x : None ) , _constructor = None ) : f = StringIO . StringIO ( s ) return FromFile ( f , more_formatters = more_formatters , _constructor = _constructor )
like fromfile .