Class variable inheritance
skippy.hammond at gmail.com
Wed Sep 9 06:00:08 CEST 2009
On 9/09/2009 1:51 PM, HPJ wrote:
>> Conceptually, Python checks for the presence of B.foo, and if it's
>> not there it checks for foo's presence in the base classes.
> Yes, I have no problem believing you guys that this is what Python
> does. Still, my question remains about where in the Language Reference
> this is specified. And if the answer is nowhere, than the LR needs to
> be amended, for obviously the way inheritance is done is no small
> matter and its understanding should not be left to the user's own
- search for 'method resolution order' for other hits in that document.
More information about the Python-list