comparison Python/structmember.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 52294af4b663
children 96a2371b114b
comparison
equal deleted inserted replaced
57362:67c0f92ce55c 57367:ed30bcffa146