[Python-3000] Help on builtin keywords

"Martin v. Löwis" martin at v.loewis.de
Sun Mar 30 09:37:37 CEST 2008


> I did not check if there is a bug on this, but if the situation can be fixed
> in Py3k, it would be great. I suggest that "help()" either gives a single-line
> help for keywords also, or gracefully die down with a proper error string,
> telling "<keyword> is a Python keyword" instead of the ugly SyntaxError.

It's very hard to fix. help is a regular function, so it has to conform
with the function call syntax.

Regards,
Martin


More information about the Python-3000 mailing list