From 429f7377cb6e3f0d6e68e94f2315a4c5e520ee0e Mon Sep 17 00:00:00 2001 From: MichaelYusko Date: Wed, 26 Jul 2017 19:32:23 +0300 Subject: [PATCH] Did the small changes for better readable --- sanic/response.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sanic/response.py b/sanic/response.py index f4fb1ea6..902b21c6 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -109,8 +109,9 @@ class BaseHTTPResponse: class StreamingHTTPResponse(BaseHTTPResponse): __slots__ = ( - 'transport', 'streaming_fn', - 'status', 'content_type', 'headers', '_cookies') + 'transport', 'streaming_fn', 'status', + 'content_type', 'headers', '_cookies' + ) def __init__(self, streaming_fn, status=200, headers=None, content_type='text/plain'):