[email protected] (Pierre Asselin) writes:

> Ethan Carter <[email protected]> wrote:
>
>>   def __init__(self, d, ls):
>>     self.head = d
>>     self.tail = ls
>
> Why not
>     def __init__(self, d, ls=None):
>
> and avoid the need for a List.Empty ?

Thanks!  That's a good suggestion.
-- 
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to