Factory function to generate a named class

Erik Max Francis max at alcyone.com
Tue Sep 23 15:54:51 EDT 2003


Jeff Epler wrote:

> Populate a dict with a mapping from class names to class objects:

He already has such a dictionary.  It's globals().  :-)

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Golf is a good walk spoiled.
\__/  Mark Twain




More information about the Python-list mailing list