from yuppy import * # Yuppy classes must either use the base yuppy.ClassType metaclass or use # the @yuppy.yuppy decorator. # In this case, we're creating an abstract base class "Apple" with a # couple of abstract methods for getting attributes. @abstract class Apple(object): """An abstract apple.""" @abstract def get_color(self): """Gets the apple color.""" @abstract def set_color(self): """Sets

