Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Reference(object):
- # common functionality here
- class Fruit(object):
- # common functionality here
- class Apple(Fruit):
- class Ref(Reference):
- # specific functionality here
- class Orange(Fruit):
- class Ref(Reference):
- # specific functionality here
- # like 6 more fruits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement