On Jun 13, 2007, at 4:58 PM, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
> TypeError: Error when calling the metaclass bases
> module.__init__() takes at most 2 arguments (3 given)
>
> Traceback (innermost last):
>
> File "d:\pyProject\pyProject\LotsMfrm1.py", line 1, in <module>
> import dabo
> File "d:\pyProject\pyProject\LotsMfrm1.py", line 5, in <module>
> from RAClasses import *
> File "d:\pyProject\pyProject\RAClasses.py", line 1046, in <module>
> class RALookupfn(dabo.dObject):
>
> Is all that it says
You have a namespace confusion. 'dabo.dObject' is a module; what you
want to use as your superclass is 'dabo.dObject.dObject'.
The common way to get around this stutter-like code is to change
your import to:
import dabo
import dabo.dObject.dObject as dObject
class Foo(dObject): pass
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]