None assigment

Simon Brunning SBrunning at trisystems.co.uk
Thu Feb 8 07:20:27 EST 2001


> From:	Gregoire Welraeds [SMTP:greg at perceval.be]
> While playing a bit with python 2.0, I found that I can assign some value
> to None
(snip)
> If it is a feature (I suppose it is not a bug :), what is the interest of
> this ?
 
Feature. 'None' is just a label, and just like any other label, you can
always assign to it. I'm not aware of any way of preventing a label from
being assigned to.

Doesn't make it a good idea, though...

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk





-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.




More information about the Python-list mailing list