Re:How Many Lines of C It Takes to Execute a and B in Python?
by Smaug123 on Monday December 11, 2023 @01:43PM
(#38603667)
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)`!
[ Parent
| on HN ]
Re:How Many Lines of C It Takes to Execute a and B in Python?
by a1369209993 on Monday December 11, 2023 @04:53PM
(#38606038)
More to the point, try `[len,exit,repr]`. Consider what would happen if `exit.__repr__()` did terminate the program.