Hacker News new | ask | show | jobs
by heyodai 918 days ago
Yeah, that message is a pet peeve of mine. Like, you know what I'm trying to do.
1 comments

It sort of doesn't! It's just doing exactly the same thing it would do with any other identifier: it's printing its `repr`. Try `repr(exit)`!
More to the point, try `[len,exit,repr]`. Consider what would happen if `exit.__repr__()` did terminate the program.