On Fri, Jul 25, 2014 at 5:21 PM, Skip Montanaro <s...@pobox.com> wrote: >> OK, Eclipse with PyDev doesn't like this first line, with the function: >> def add(self, (sub, pred, obj)): >> >> It complains about the parentheses just before sub. > > Seems like this code is Python 2.x.
For me, this code ran on all of 2.4, 2.5, 2.6 and 2.7, but not on any of 3.0, 3.1, 3.2, 3.3 or 3.4. HTH -- https://mail.python.org/mailman/listinfo/python-list