> 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 " is a Python keyword" instead of the ugly SyntaxErr
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 " is a Python key
Hi,
I recently noticed that the "help" function behaves rather
unhelpfully when one tries it on builtin keywords, as opposed
to functions.
For example, taking the much abused "lambda", a newbie
might try to do the following to get more enlightened about lambda.
>>> help(lambda)
Fi