Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >On Tue, 29 Jan 2008 11:48:38 -0800, Tobiah wrote: >> class genital: >> def pubic_hair(self): >> pass >> def remove(self): >> del(self.pubic_hair) >I think `pubic_hair` is an attribute instead of a method. > >Oh, and ``del`` is a statement and not a function. So the way you wrote >it with parentheses is a bit misleading.
And who's going to want to call genital().remove() anyway? -- \S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/ "Frankly I have no feelings towards penguins one way or the other" -- Arthur C. Clarke her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
-- http://mail.python.org/mailman/listinfo/python-list