Removing Pubic Hair Methods

Gerardo Herzig gherzig at fmed.uba.ar
Wed Jan 30 09:16:40 EST 2008


Sion Arrowsmith wrote:

>Marc 'BlackJack' Rintsch  <bj_666 at gmx.net> 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?
>
>  
>
I will use genital().extend(), thats for shure ^^



More information about the Python-list mailing list