Re: [Python-3000] Help on builtin keywords

2008-03-30 Thread Martin v. Löwis
> 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

Re: [Python-3000] Help on builtin keywords

2008-03-27 Thread Christian Heimes
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

[Python-3000] Help on builtin keywords

2008-03-27 Thread Anand Balachandran Pillai
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