> But of course:
>
>  >>> def fun():
>       global x = 10
>
> SyntaxError: invalid syntax
>  >>>

global x
x = 10

Close enough ^^;

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

Reply via email to