Why use "locals()"

Sean DiZazzo half.italian at gmail.com
Mon Sep 14 05:06:51 CEST 2009


I have never used a call to "locals()" in my code.  Can you show me a
use case where it is valuable and Pythonic?

~Sean



More information about the Python-list mailing list