[Python-Dev] Making None a keyword (original) (raw)
Tim Peters tim.one@comcast.net
Fri, 26 Apr 2002 12:14:16 -0400
- Previous message: [Python-Dev] Making None a keyword
- Next message: [Python-Dev] Making None a keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
dottedname: 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.
- Previous message: [Python-Dev] Making None a keyword
- Next message: [Python-Dev] Making None a keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]