Even function with tuple match parameter don't work either.

```
def test((name, v)):
    return True
```

```
Error compiling Cython file:
------------------------------------------------------------
...
def test((name, v)):
                 ^
------------------------------------------------------------

/private/tmp/test.pyx:3:18: Empty declarator
```

On Tue, Nov 10, 2015 at 8:01 AM, yi huang <yi.codepla...@gmail.com> wrote:
> λ $ cat /tmp/test.pyx
> f = lambda (name,v):True
>
> λ $ cython /tmp/test.pyx
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> f = lambda (name,v):True
>                   ^
> ------------------------------------------------------------
>
> /tmp/test.pyx:1:19: Empty declarator
>
>
> Tested with both 0.21 and 0.23



-- 
http://yi-programmer.com/
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to