/usr/share/doc/python-twisted-web/howto/listings/render_transparent.py is in python-twisted-web 17.9.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | from __future__ import print_function
from twisted.web.template import flattenString
from transparent_element import ExampleElement
def renderDone(output):
print(output)
flattenString(None, ExampleElement()).addCallback(renderDone)
|