Martin Panter added the comment:

I think the patch is okay. Just beware that next(iter(kwargs)) can return 
different names if there is more than one unexpected argument, so the error 
message could vary. But it looks like the test cases are only when there is 
exactly one extra argument, so no problem.

----------

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

Reply via email to