From: dinever Date: Tue, 8 Dec 2015 05:37:43 +0000 (-0500) Subject: Use super() to call super "__init__()" X-Git-Tag: v4.4.0b1~62^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1600%2Fhead;p=thirdparty%2Ftornado.git Use super() to call super "__init__()" --- diff --git a/demos/websocket/chatdemo.py b/demos/websocket/chatdemo.py index aac24d94e..5642f1fd0 100755 --- a/demos/websocket/chatdemo.py +++ b/demos/websocket/chatdemo.py @@ -44,7 +44,7 @@ class Application(tornado.web.Application): static_path=os.path.join(os.path.dirname(__file__), "static"), xsrf_cookies=True, ) - tornado.web.Application.__init__(self, handlers, **settings) + super(Application, self).__init__(handlers, **settings) class MainHandler(tornado.web.RequestHandler):