Show More
@@ -2253,7 +2253,7 b' class InteractiveShell(Configurable, Magic):' | |||||
2253 | sys.excepthook = old_excepthook |
|
2253 | sys.excepthook = old_excepthook | |
2254 | except SystemExit: |
|
2254 | except SystemExit: | |
2255 | self.showtraceback(exception_only=True) |
|
2255 | self.showtraceback(exception_only=True) | |
2256 |
warn("To exit: use |
|
2256 | warn("To exit: use 'exit', 'quit', or Ctrl-D.", level=1) | |
2257 | except self.custom_exceptions: |
|
2257 | except self.custom_exceptions: | |
2258 | etype,value,tb = sys.exc_info() |
|
2258 | etype,value,tb = sys.exc_info() | |
2259 | self.CustomTB(etype,value,tb) |
|
2259 | self.CustomTB(etype,value,tb) |
General Comments 0
You need to be logged in to leave comments.
Login now