<p dir="ltr"><br>
On Jul 25, 2014 6:54 PM, "Dan Stromberg" <<a href="mailto:drsalists@gmail.com">drsalists@gmail.com</a>> wrote:<br>
><br>
> On Fri, Jul 25, 2014 at 5:21 PM, Skip Montanaro <<a href="mailto:skip@pobox.com">skip@pobox.com</a>> wrote:<br>
> >> OK, Eclipse with PyDev doesn't like this first line, with the function:<br>
> >> def add(self, (sub, pred, obj)):<br>
> >><br>
> >> It complains about the parentheses just before sub.<br>
> ><br>
> > Seems like this code is Python 2.x.<br>
><br>
> For me, this code ran on all of 2.4, 2.5, 2.6 and 2.7, but not on any<br>
> of 3.0, 3.1, 3.2, 3.3 or 3.4.</p>
<p dir="ltr">Python 3.x no longer allows tuple parameter unpacking in function signatures. See PEP 3113.<br>
</p>