[Python-Dev] Error in Python Tutorial on Multiple Inheritence
jcarlson at uci.edu
Thu Aug 12 07:41:42 CEST 2004
> > If so, maybe that paragraph should be rewritten to make
> > it more clear. With an example like the above, perhaps?
> Can you provide a patch? Please upload to sf.net/projects/python.
Perhaps the following example (or a variant) should be included in the
tutorial as an example.
>>> class a:
... x = 0
>>> class b(a):
... x = 1
>>> class c(a):
>>> class d(a,b):
>>> class e(b,a):
More information about the Python-Dev