diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-11-19 22:54:57 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-11-19 22:54:57 (GMT) |
commit | 99a5023c80d9a690e4305e2ded1b2a9cf6b30251 (patch) | |
tree | 3fb07d09a0ba874e6607b11b1ad9cc55515c1daa /Lib/test/test_mimetools.py | |
parent | b678de8ba643d940009f26d50d3f6014305f152c (diff) | |
download | cpython-99a5023c80d9a690e4305e2ded1b2a9cf6b30251.zip cpython-99a5023c80d9a690e4305e2ded1b2a9cf6b30251.tar.gz cpython-99a5023c80d9a690e4305e2ded1b2a9cf6b30251.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_mimetools.py')
0 files changed, 0 insertions, 0 deletions