##// END OF EJS Templates
Print exception instead of "KeyboardInterrupt"...
Print exception instead of "KeyboardInterrupt" Whenever a KeyboardInterrupt exception occurs in the shell, we should print the actual exception instead of the string "KeyboardInterrupt". This is needed to support exceptions inherited from KeyboardInterrupt.

File last commit:

r13348:e6afea51
r19114:d574a6bc
Show More
simplevars.py
3 lines | 61 B | text/x-python | PythonLexer
from __future__ import print_function
x = 1
print('x is:',x)