parsestr(text, headersonly=False)
Similar to the parse() method, except it takes a string object instead of a file-like object. Calling this method on a string is exactly equivalent to wrapping text in a StringIO instance first and calling parse().
Optional headersonly is as with the parse() method.
Please login to continue.