Pieter,

> Do you mean, if Proc1() is called from Func1, it uses MyVar defined
>in Func1, and if it is called from Func2, it uses MyVar from Func2?

Yep.

> If that is what you mean, that would be dynamic scope.

Thanks for pointing that out (I've learned a new definition today! :-) ).

Regards,
Rudy Wieser


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

Reply via email to