|
|
|
|
|
by phs318u
899 days ago
|
|
Except in the case of the 'exit' clearly this is accepting and parsing imprecise input in order to guide the user. If the code wasn't looking for 'exit' in order to correct the user (to use 'exit()'), it would just spit out some other error for 'I don't know what you're talking about'. Instead, they actually detect the intent by specifically coding for it... and then ignore it anyway. That's bloody minded. |
|
The code is here: https://github.com/python/cpython/blob/3.12/Lib/_sitebuiltin...