From 3a62caf91cbe86e96392213db5c3c9c2cc9fcb17 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sat, 21 Jun 2014 13:37:59 -0400 Subject: [PATCH] Edit comments to discourage creation of new OutputTransforms. --- tornado/web.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tornado/web.py b/tornado/web.py index cd023219..506caae7 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