use str as variable name

Bruno Desthuilliers bdesth.quelquechose at
Fri Sep 5 21:16:36 CEST 2008

Marco Bizzarri a écrit :
> On Thu, Sep 4, 2008 at 10:47 AM, Fredrik Lundh <fredrik at> wrote:
>> ( Bruno implies, setattr(), len() et al can be and should be viewed as
>> generic functions.
> Just a question: "generic functions" are not meant in the sense of
> "generic functions" of CLOS, am I right?

Nope. Just "generic" in the sense that they accept any object 
implementing a very minimal interface.

If you want something like CLOS multimethods, you may be interested in 
Philip Eby's ruledispatch.

More information about the Python-list mailing list