[Python-3000] Help on builtin keywords

Christian Heimes lists at cheimes.de
Thu Mar 27 09:40:31 CET 2008


Anand Balachandran Pillai schrieb:
> 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.

Try help("lambda")

Or try help(), keywords, lambda ;)

Christian


More information about the Python-3000 mailing list