On Mon, Dec 12, 2011 at 7:43 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > If I want to collect a sequence of arguments into a string, why shouldn't > I be allowed to write this? > > def func(parg, str(args)): ...
Obviously, because the correct syntax would be: def func(parg, ''.join(args)): ... :-P -- http://mail.python.org/mailman/listinfo/python-list