Re: extra positional arguments before optional parameters syntax

2008-06-18 Thread George Sakkis
On Jun 18, 5:25 pm, MisterWilliam <[EMAIL PROTECTED]> wrote: > I noticed that in PEP 3105, the PEP about turning print to print(), > the syntax for print() is defined as follows: > def print(*args, sep=' ', end='\n', file=None) > > Ignoring the fact that print is a reserved keyword in python, this

extra positional arguments before optional parameters syntax

2008-06-18 Thread MisterWilliam
I noticed that in PEP 3105, the PEP about turning print to print(), the syntax for print() is defined as follows: def print(*args, sep=' ', end='\n', file=None) Ignoring the fact that print is a reserved keyword in python, this is not valid python because extra positional arguments (*args), cannot