]> git.ipfire.org Git - thirdparty/tornado.git/commit
Update super usage (#2912)
authorPoruri Sai Rahul <rporuri@enthought.com>
Sun, 13 Sep 2020 15:06:02 +0000 (15:06 +0000)
committerGitHub <noreply@github.com>
Sun, 13 Sep 2020 15:06:02 +0000 (11:06 -0400)
commitb3c63fbce0e97fd0428199ffdeddbcb237ef03e9
tree6fe423fc01272cecfec95dae6192bbed107b1f14
parent68efd61147f33463d27c5a044649880d797f39fb
Update super usage (#2912)

On Python 3, super does not need to be called with arguments where as on
Python 2, super needs to be called with a class object and an instance.

This commit updates the super usage using automated regex-based search
and replace. After the automated changes were made, each change was
individually checked before committing.
36 files changed:
demos/blog/blog.py
demos/websocket/chatdemo.py
maint/test/redbot/red_test.py
tornado/curl_httpclient.py
tornado/gen.py
tornado/httpclient.py
tornado/iostream.py
tornado/locale.py
tornado/locks.py
tornado/netutil.py
tornado/platform/asyncio.py
tornado/routing.py
tornado/simple_httpclient.py
tornado/template.py
tornado/test/concurrent_test.py
tornado/test/curl_httpclient_test.py
tornado/test/gen_test.py
tornado/test/http1connection_test.py
tornado/test/httpserver_test.py
tornado/test/ioloop_test.py
tornado/test/iostream_test.py
tornado/test/locks_test.py
tornado/test/log_test.py
tornado/test/netutil_test.py
tornado/test/process_test.py
tornado/test/routing_test.py
tornado/test/runtests.py
tornado/test/simple_httpclient_test.py
tornado/test/tcpclient_test.py
tornado/test/testing_test.py
tornado/test/util_test.py
tornado/test/web_test.py
tornado/test/websocket_test.py
tornado/testing.py
tornado/web.py
tornado/websocket.py