Unbinding multiple variables

Leif K-Brooks eurleif at ecritters.biz
Fri Jan 21 02:02:33 EST 2005


John Hunter wrote:
> >>>del locals()['x']
The locals() dictionary will only modify values in a module's top-level 
code (i.e. when the expression "locals() is globals()" is true).



More information about the Python-list mailing list