Singleton in Python Cookbook
nospam.themindstorm at gmail.com
Wed Jul 25 23:30:14 CEST 2007
I was reading through Python Cookbook the Singleton recipe. At this moment
I am a bit puzzled as the example in the book is not working resulting in:
TypeError: type.__new__(SingleSpam): SingleSpam is not a subtype of type
(I haven't presented the original code as I am not sure about copyrights).
.w( the_mindstorm )p.
More information about the Python-list