Jean-Michel Pichavant wrote:

> def __init__(self, source="test", length=1):
> self.source = source
> self.length = length
> 
> is the way to go. OP's original idea is a bad idea :).
D'accord.

> Could be a problem with hundreds of parameters, but who write
> constructors with hundreds of parameters ?


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to