diff Python/traceback.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 8f6cf39c96dd
children 8e3b5fbc1e41
line wrap: on
line diff