[pypy-issue] Issue #2849: Syntax bug for keyword-only arguments in function definition (pypy/pypy)

sjdv1982 issues-reply at bitbucket.org
Sat Jun 16 04:11:46 EDT 2018


New issue 2849: Syntax bug for keyword-only arguments in function definition
https://bitbucket.org/pypy/pypy/issues/2849/syntax-bug-for-keyword-only-arguments-in

sjdv1982:

Function definition below (with the comma at the end) is valid syntax for cpython3, not for pypy3.

[code
```
#!python

def test(self, *, b, c,):
    pass

```

PyPy version:
Python 3.5.3 (fdd60ed87e94, Apr 24 2018, 06:10:04)
[PyPy 6.0.0 with GCC 6.2.0 20160901] on linux




More information about the pypy-issue mailing list