KeyboardInterrupt

exception KeyboardInterrupt

Raised when the user hits the interrupt key (normally Control-C or Delete). During execution, a check for interrupts is made regularly. The exception inherits from BaseException so as to not be accidentally caught by code that catches Exception and thus prevent the interpreter from exiting.

doc_python
2016-10-07 17:35:53
Comments
Leave a Comment

Please login to continue.