Removing Pubic Hair Methods

Asun Friere afriere at yahoo.co.uk
Wed Jan 30 19:57:03 EST 2008


On Jan 31, 3:13 am, Steve Holden <st... at holdenweb.com> wrote:
> Wildemar Wildenburger wrote:
> > Well, you never go wrong with apply(genital(), females), do you?

Never?!

class PowerSocket () :
  def __init__ (self, plug=female, active=False) :
    self.plug = plug
    self.active = active

females = [p for p in powersockets if p.active and p.plug == 'female']

Ouch!!  If on the other hand 'females' is populated by instances of
(or merely includes instances of) class 'Human', I suggest you test
for female.consent somewhere in your code!




More information about the Python-list mailing list