Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e6a74e5

Browse filesBrowse files
authored
Merge pull request matplotlib#9444 from cgohlke/patch-13
STY: Remove explicit return in __init__
2 parents 4937314 + b14f1e0 commit e6a74e5
Copy full SHA for e6a74e5

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎lib/matplotlib/backends/backend_webagg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_webagg.py
+4-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.