None assigment
Michael Hudson
mwh21 at cam.ac.uk
Thu Feb 8 13:53:30 EST 2001
D-Man <dsh8290 at rit.edu> writes:
> Interesting. So normally "None" is a special keyword (that is a
> reference to an object) , but that doesn't prevent one from creating
> a local variable named "None" that shadows the keyword.
Not really. It's a builtin. Ever used a variable called list?
Cheers,
M.
--
The "of course, while I have no problem with this at all, it's
surely too much for a lesser being" flavor of argument always
rings hollow to me. -- Tim Peters, 29 Apr 1998
More information about the Python-list
mailing list