[Twisted-Python] [bug] web.resource.Resource.render.__doc__
acapnotic at twistedmatrix.com
Tue Aug 7 06:19:26 EDT 2001
My, that was annoying.
> Render a given resource.
> The return value of this method will be the rendered page, unless the
> return value is None, in which case it is this class's responsability
> to write the results to request.write(data), then call
however, the magic value is not 'None', but web.server.NOT_DONE_YET,
a constant which is *NOT* defined as None.
So, which'll it be, boys? Is the docstring wrong, or is the code?
More information about the Twisted-Python