How can we write a class factory that dynamically redefines the __init__ function etc.

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Tue May 6 03:20:29 EDT 2008


s0suk3 at gmail.com a écrit :
> On May 6, 12:14 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
> wrote:
>> (the convention is to use lowercase names for attributes: rawdata instead
>> of RawData)
>>
> 
> But at least put an underscore between the words (raw_data), or, if
> you like the OO world, make the subsequent words capitalized
> (rawData).

mixedCase convvnetion has nothing to do with OO.



More information about the Python-list mailing list