8000 Remove explicit return in __init__ · matplotlib/matplotlib@b14f1e0 · GitHub
[go: up one dir, main page]

Skip to content

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/backends/backend_webagg.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ def get(self):
7878
class SingleFigurePage(tornado.web.RequestHandler):
7979
def __init__(self, application, request, **kwargs):
8080
self.url_prefix = kwargs.pop('url_prefix', '')
81-
return tornado.web.RequestHandler.__init__(self, application,
82-
request, **kwargs)
81+
tornado.web.RequestHandler.__init__(self, application,
82+
request, **kwargs)
8383

8484
def get(self, fignum):
8585
fignum = int(fignum)
@@ -98,8 +98,8 @@ def get(self, fignum):
9898
class AllFiguresPage(tornado.web.RequestHandler):
9999
def __init__(self, application, request, **kwargs):
100100
self.url_prefix = kwargs.pop('url_prefix', '')
101-
return tornado.web.RequestHandler.__init__(self, application,
102-
request, **kwargs)
101+
tornado.web.RequestHandler.__init__(self, application,
102+
request, **kwargs)
103103

104104
def get(self):
105105
ws_uri = 'ws://{req.host}{prefix}/'.format(req=self.request,

0 commit comments

Comments
 (0)
0