Eric V. Smith <e...@trueblade.com> added the comment:

I don't think it's worth checking that you've passed in the correct type for 
the default parameter. That's not something that Python code typically does.

The error you get:
AttributeError: 'tuple' object has no attribute 'append'
seem pretty clear. Pass in a list instead of a tuple, and it works as expected.

----------
nosy: +eric.smith

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14233>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to