"Extracting" a dictionary
Leif K-Brooks
eurleif at ecritters.biz
Tue May 18 01:21:45 EDT 2004
Heiko Wundram wrote:
> Am Montag, 17. Mai 2004 21:34 schrieb Leif K-Brooks:
>
>> >>> locals().update(vars)
>
> From the documentation:
>
> """
> locals()
>
> Update and return a dictionary representing the current local symbol table.
> Warning: The contents of this dictionary should not be modified; changes may
> not affect the values of local variables used by the interpreter.
> """
Thanks for pointing that out, I was a bit lazy with TFM. Please ignore
my advice.
More information about the Python-list
mailing list