Skip to content

Commit d41907b

Browse files
committed
Simplify ThebeSourceNode constructor
1 parent 0691881 commit d41907b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_sphinx/execute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ def html(self):
267267
class ThebeSourceNode(docutils.nodes.container):
268268
"""Container that holds the cell source when thebelab is enabled"""
269269

270-
def __init__(self, rawsource='', *children, hide_code, code_below, **attributes):
271-
super().__init__('', hide_code=hide_code, code_below=code_below)
270+
def __init__(self, rawsource='', *children, **attributes):
271+
super().__init__('', **attributes)
272272

273273
def html(self):
274274
code_class = 'thebelab-code'

0 commit comments

Comments
 (0)