Mercurial > cpython-lru_cache-weakref
comparison Python/graminit.c @ 57367:ed30bcffa146 legacy-trunk
improve several corner cases related with argument names in parenthesis
- Fix #7362: give a good error message for parenthesized arguments with
defaults.
- Add a py3k warning for any parenthesized arguments since those are not allowed
in Py3. This warning is not given in tuple unpacking, since that incurs the
tuple unpacking warning.
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Thu, 19 Nov 2009 22:54:57 +0000 |
| parents | 16759f62eb22 |
| children | c2fdf25329ff |
comparison
equal
deleted
inserted
replaced
| 57362:67c0f92ce55c | 57367:ed30bcffa146 |
|---|
