On 18 Jan 2006 11:59:23 GMT, Johannes Zellner <[EMAIL PROTECTED]> wrote:
> Hi,
>
> can I make an object read-only, so that
>
>     x = new_value
>
> fails (and x keeps it's orginal value)?

This works for me:

http://groups.google.com/group/comp.lang.python/msg/2b1785397358ff90

--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to