Georg Brandl wrote:
> [EMAIL PROTECTED] wrote:
> > The following program does not work if you uncomment     #lis =
> > ["xmms2"] + list(args)
> >
> > Evidently Python is opting for the nullary constructor list() as
> > opposed to the other one which takes a sequence. But no newcomer would
> > know this. And the Python docs dont give a good example of dealing with
> > taking a sequence of args and converting it to a list.
>
> Evidently you overlooked having defined a list() in global scope
> yourself which takes no arguments.

MASSIVELY overlooked it. Gosh. How embarrassing.

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

Reply via email to