
April 26, 2011
5:34 a.m.
On Tue, Apr 26, 2011 at 11:50 AM, Carl M. Johnson <cmjohnson.mailinglist@gmail.com> wrote:
You're missing True, False, and None.
Looks like a bug in help("keywords") under Python 3.2.
The bug is actually a little deeper than that - True/False/None were historically either not keywords at all, or pseudo keywords that were permitted as attributes, but not as local variables. They haven't yet been promoted properly to full keyword status in the language grammar (even though the compiler already ensures that they can't be assigned to or used as anything other than themselves). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia