* Alex Popescu <[EMAIL PROTECTED]> [2007-07-25 21:30:14]: > TypeError: type.__new__(SingleSpam): SingleSpam is not a subtype of type
That's hardly helpful. All I can think about is, SingleSpam is a class and you have to defined the Class in your program, or it could be something else also. > (I haven't presented the original code as I am not sure about copyrights). > If there is an online version of the code, please point to us that. Or you can ask the author of the book directly. -- O.R.Senthil Kumaran http://uthcode.sarovar.org -- http://mail.python.org/mailman/listinfo/python-list