On Thu, May 27, 2010 at 4:16 AM, timo verbeek <timoverbee...@gmail.com> wrote:
> what is the problem with this code?
>
> _base={"repeat":False,"string":"Progres has failed","works":True}
> print _base
> class dictreturn(_base):pass

You can't subclass a dictionary object, you can only subclass other
classes. What on earth are you trying to do?

Cheers,
Chris
--
http://blog.rebertia.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to