t.w.t.flattenString(request, root) : function documentation

Part of twisted.web.template View Source

Collate a string representation of root into a single string.

This is basically gluing flatten to a StringIO and returning the results. See flatten for the exact meanings of request and root.

ReturnsA Deferred which will be called back with a single string as its result when root has been completely flattened into write or which will be errbacked if an unexpected exception occurs.
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.