Show More
@@ -915,10 +915,14 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
915 | 915 | active_eventloop = None |
|
916 | 916 | def enable_gui(self, gui=None): |
|
917 | 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`.") | |
|
919 | print("NOTE: Tk is supported natively; use Tk apps and Tk backends with `--simple-prompt`.") | |
|
918 | print( | |
|
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 | 924 | return |
|
921 | ||
|
925 | ||
|
922 | 926 | if self._inputhook is None and gui is None: |
|
923 | 927 | print("No event loop hook running.") |
|
924 | 928 | return |
General Comments 0
You need to be logged in to leave comments.
Login now