[issue7362] Incorrect error message with def((x)=0)

2009-11-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r76416. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue7362] Incorrect error message with def((x)=0)

2009-11-19 Thread James Lingard
New submission from James Lingard : def f((x)=0): pass gives the following incorrect error message: SyntaxError: non-default argument follows default argument "def f((x)): pass" is treated exactly the same as "def f(x): pass", so it would seem sensible for the same to be true if a default va