Nick Coghlan <[EMAIL PROTECTED]> wrote:
> 
> Wait for Python 3k when this will work:
> 
> class c:
>   def __init__(self):
>     with self:
>       .x = 1
>       .y = 2
>       .hi = "Hi there!"

Python is looking more like JavaScript every day...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to