3 ms·
As it stands, help isn't a string - if it was then typing help() would tell you that strings aren't callable. It's a <class site._Helper> So as well as printin
by jodrellblank 18y ago
As it stands, help isn't a string - if it was then typing help() would tell you that strings aren't callable. It's a <class site._Helper>
So as well as printing that message, it could go into interactive help mode. Since you're only going to want that at the console it could only happen at the console, and since you typed "help" you probably want "help", that would be ... helpful.
The real problem with DWIM is that nobody else has the same WIM. (But that's not my problem, because it's all of you who are wrong. ;)