None assigment

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sun Feb 18 18:02:10 CET 2001


Sat, 10 Feb 2001 18:09:18 -0800, Clarence Gardner <clarence at netlojix.com> pisze:

> I think, if there is a reason, it is probably that they want the
> language to prevent the programmer from *accidentally* doing bad
> things that happen to be possible.  But nobody types
> 	None = 3
> by accident.

It's harmless anyway: it rebinds a local name, not the builtin one.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list