[Python-Dev] Making None a keyword

Tim Peters tim.one@comcast.net
Fri, 26 Apr 2002 12:14:16 -0400


>> dotted_name: NAME ('.' NAME)*

[Patrick K. O'Brien]
> I know nothing about the compiler code, but what about something like:
>
> >>> None.__class__.__base__
> <type 'object'>
> >>>
>
> Or does this not apply because None is at the front?

Yup, good point, 'None' does make sense as the first NAME in the dotted_name
production.