Skip to content

Commit

Permalink
please formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Oct 29, 2022
1 parent 293ec35 commit 5ab1ecc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions IPython/terminal/interactiveshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,8 @@ def inputhook(self, context):

active_eventloop = None
def enable_gui(self, gui=None):
if gui and (gui not in {'inline', 'webagg'}) :
self.active_eventloop, self._inputhook =\
get_inputhook_name_and_func(gui)
if gui and (gui not in {"inline", "webagg"}):
self.active_eventloop, self._inputhook = get_inputhook_name_and_func(gui)
else:
self.active_eventloop = self._inputhook = None

Expand Down

0 comments on commit 5ab1ecc

Please sign in to comment.