if i press CTRL+C it Errors TypeError: end must be None or a string, not KeyboardInterrupt
Why?
Code:
import sys
def erroring(a,b,c):
print(end=b)
sys.excepthook = erroring
while 1:pass
from TypeError: end must be None or a string, not KeyboardInterrupt
No comments:
Post a Comment