(12:26) If we talk about hierarchy in terms of “ancestor”/“descendant”, then at the top there will be an `object`. Therefore, the class `Apple` will be a descendant of the class `Fruit`, which will be a descendant of the class `object`, and all 3 will be instances of class `type`. Moreover - `type` is a descendant of `object` and both are an instance of `type`. `object` has no ancestors. The ancestor for the class is indicated in the attribute `__base__`.
(12:26) If we talk about hierarchy in terms of “ancestor”/“descendant”, then at the top there will be an `object`. Therefore, the class `Apple` will be a descendant of the class `Fruit`, which will be a descendant of the class `object`, and all 3 will be instances of class `type`. Moreover - `type` is a descendant of `object` and both are an instance of `type`. `object` has no ancestors. The ancestor for the class is indicated in the attribute `__base__`.
Very concise and exactly what I needed. THANK YOU!
Very easy explaination 😍
Great ❤😊
where is the 2nd video with real world examples?
Paywalled ;(
Brilliant ❤
great
Thank you
but what is the type of classobj 🤔?
Thank