On Jan 30, 9:27 pm, MRAB <[EMAIL PROTECTED]> wrote: > On Jan 31, 1:09 am, George Sakkis <[EMAIL PROTECTED]> wrote:> On Jan 30, 5:03 > pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > > > On Wed, 30 Jan 2008 15:29:45 +0100, Wildemar Wildenburger wrote: > > > > Gerardo Herzig wrote: > > > >> I will use genital().extend(), thats for shure ^^ > > > > > Well, you never go wrong with apply(genital(), females), do you? > > > > `apply()` is deprecated. And ``genital(*females)`` looks a bit odd. :-) > > > Well, that use case alone is enough to convince anyone that apply > > should stay :-) > > The original had genital(), so that would be genital()(*females). But > what is genital() anyway? A factory?
It actually implements several design patterns. Factory is just one of them; others include the Bridge and the Object Pool patterns. Some advanced instances of genital() may also implement the Visitor pattern while others less advanced implement primarily the Observer. George -- http://mail.python.org/mailman/listinfo/python-list