Y
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
Smaug123
918 days ago
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)`!
link
a1369209993
918 days ago
More to the point, try `[len,exit,repr]`. Consider what would happen if `exit.__repr__()`
did
terminate the program.
link