[Python-Dev] Making None a keyword

Skip Montanaro skip@pobox.com
2002年4月26日 11:07:26 -0500


 Patrick> ... what about something like:
 >>> None.__class__.__base__
 <type 'object'>
 Patrick> Or does this not apply because None is at the front?
I suspect it does apply.
I doubt it's used much, but what would happen to types.NoneType? If None is
a keyword, how will you generate it, or will it disappear when that happens?
Skip

AltStyle によって変換されたページ (->オリジナル) /