Show More
@@ -2878,7 +2878,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
2878 | if result is not None: |
|
2878 | if result is not None: | |
2879 | result.error_in_exec = e |
|
2879 | result.error_in_exec = e | |
2880 | self.showtraceback(exception_only=True) |
|
2880 | self.showtraceback(exception_only=True) | |
2881 | warn("To exit: use 'exit', 'quit', or Ctrl-D.", level=1) |
|
2881 | warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1) | |
2882 | except self.custom_exceptions: |
|
2882 | except self.custom_exceptions: | |
2883 | etype, value, tb = sys.exc_info() |
|
2883 | etype, value, tb = sys.exc_info() | |
2884 | if result is not None: |
|
2884 | if result is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now