class version of func_globals?

samwyse samwyse at gmail.com
Tue Dec 29 04:40:35 EST 2009


Is there any way to get the global namespace of the module in which a
class was defined?  Answers for both Python 2.x and 3.x will be
cheerfully accepted.



More information about the Python-list mailing list