On Fri, Aug 17, 2012 at 4:11 PM, Matthew Love <[email protected]> wrote: > def inventory(self): > self.inventory = ["torch"] > return self.inventory
What is 'self.inventory' before you call inventory(), and what is it afterwards? A quick fix would be to name the list "_inventory" and return self._inventory. _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
