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