@property<EOL><INDENT>def total(self):<DEDENT>
return self.quantity * self.price<EOL>
same as obj.price: Total price of the item.

        A read-only property.

        The default implementation simply returns the product of the
        item's price and quantity. Override to adjust for things like
        an individual item discount or taxes.