[Python-Dev] Uninformative error message about subclassing (original) (raw)

Andreas Jung lists at andreas-jung.com
Mon May 31 10:22:41 EDT 2004


--On Montag, 31. Mai 2004 10:13 Uhr -0400 "Edward C. Jones" <edcjones at erols.com> wrote:

Here are two small python files:

---- a.py: class A(object): pass ---- b.py: import a class B(a): pass

You are trying to use module a as base class? Weird idea.

-aj



More information about the Python-Dev mailing list