Show More
@@ -915,8 +915,12 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
915 | active_eventloop = None |
|
915 | active_eventloop = None | |
916 | def enable_gui(self, gui=None): |
|
916 | def enable_gui(self, gui=None): | |
917 | if self.simple_prompt is True and gui is not None: |
|
917 | if self.simple_prompt is True and gui is not None: | |
918 | print(f"Cannot install event loop hook for \"{gui}\" when running with `--simple-prompt`.") |
|
918 | print( | |
919 | print("NOTE: Tk is supported natively; use Tk apps and Tk backends with `--simple-prompt`.") |
|
919 | f'Cannot install event loop hook for "{gui}" when running with `--simple-prompt`.' | |
|
920 | ) | |||
|
921 | print( | |||
|
922 | "NOTE: Tk is supported natively; use Tk apps and Tk backends with `--simple-prompt`." | |||
|
923 | ) | |||
920 | return |
|
924 | return | |
921 |
|
925 | |||
922 | if self._inputhook is None and gui is None: |
|
926 | if self._inputhook is None and gui is None: |
General Comments 0
You need to be logged in to leave comments.
Login now