Mercurial > cpython-lru_cache-weakref
diff Python/pystrcmp.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 | 0a485593ae1c |
| children | fd25030223b0 |
