SIngleton from __defaults__

Asaf Las roegltd at gmail.com
Wed Jan 22 14:52:16 EST 2014


On Wednesday, January 22, 2014 9:18:19 PM UTC+2, Ned Batchelder wrote:
> Chris is right here, too: modules are themselves singletons, no matter 
> how many times you import them, they are only executed once, and the 
> same module object is provided for each import.
> 
> Ned Batchelder, http://nedbatchelder.com

Chris, Ned, many thanks for clarification! 



More information about the Python-list mailing list