type error raise

timo verbeek timoverbeek10 at gmail.com
Thu May 27 07:16:11 EDT 2010


what is the problem with this code?

_base={"repeat":False,"string":"Progres has failed","works":True}
print _base
class dictreturn(_base):pass

this error
Traceback (most recent call last):
  File "<string>", line 244, in run_nodebug
  File "C:\Documents and Settings\Owner\Desktop\Python\assistent new
\user\dictreturn.py", line 4, in <module>
    class dictreturn(_base):pass
TypeError: Error when calling the metaclass bases



More information about the Python-list mailing list