Chris Niekel wrote: > TypeError: super() argument 1 must be type, not classobj > > En wat nou het verschil tussen een type en een classobj is, geen idee. > Dit gaat fout in python 2.3 en 2.4
De root classe van de inheritence boom moet object zijn: class test(object) Zie http://docs.python.org/lib/built-in-funcs.html#l2h-70: "super() only works for new-style classes." Martijn Pieters _______________________________________________ Python-nl mailing list Python-nl@python.org http://mail.python.org/mailman/listinfo/python-nl