Show More
@@ -915,8 +915,12 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: |
General Comments 0
You need to be logged in to leave comments.
Login now