On 26/02/2019 18:36, Maninath sahoo wrote:
> is it possible reverse inheritance?
> mean child class to parent class

I have no idea what you mean by that. How would it work?
Can you give an example of the kind of thing you want to do?

For example Circles and Rectangles are kinds of Shape
so their classes inherit from class Shape. How would you reverse
the inheritance in that scenario? What would you do with it?

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to