From: Ben Darnell Date: Sat, 21 Jun 2014 17:37:59 +0000 (-0400) Subject: Edit comments to discourage creation of new OutputTransforms. X-Git-Tag: v4.0.0b1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a62caf91cbe86e96392213db5c3c9c2cc9fcb17;p=thirdparty%2Ftornado.git Edit comments to discourage creation of new OutputTransforms. --- diff --git a/tornado/web.py b/tornado/web.py index cd0232192..506caae75 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -2501,9 +2501,9 @@ class FallbackHandler(RequestHandler): class OutputTransform(object): """A transform modifies the result of an HTTP request (e.g., GZip encoding) - A new transform instance is created for every request. See the - GZipContentEncoding example below if you want to implement a - new Transform. + Applications are not expected to create their own OutputTransforms + or interact with them directly; the framework chooses which transforms + (if any) to apply. """ def __init__(self, request): pass