Ben Finney wrote:

> Duncan Booth <[EMAIL PROTECTED]> writes:
>> If you intend to only use the default some of the time, and at other
>> times pass in a different list, then save the 'default' in the
>> instance and use a special marker value to indicate when you intend
>> the default to be used:
> 
> The most common idiom for such a marker is the None value.
> 

Can you provide any firm evidence that using None is more common?

Both uses are common. Use whichever you are happier with (except of course 
in the case where None is a potential value distinct from the default).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to