What are modules really for?

en.karpachov at ospaz.ru en.karpachov at ospaz.ru
Tue Aug 9 14:54:57 EDT 2005


On Tue, 09 Aug 2005 16:32:31 +0100
N.Davis wrote:

> With single inheritance in C++ or Java, if you wanted to see what a 
> method did and it appeared to be inherited, you would simply look in the 
> base class's file, and if necessary recurse up the inheritance hierarchy 
> until you found the method.
> 
> With Python an inherited method could be in one of many base classes 

And Python doesn't differ from C++ in this matter, as C++ have multiple
inheritance during (more than) last 15 years. If you don't use it in C++
then feel free not to use it in Python as well.

-- 
jk



More information about the Python-list mailing list