Antti Haapala added the comment:

Would it be enough to just have the message say "takes 1 positional argument 
and keyword-only arguments but 2 positional arguments were given"? And this 
should of course for **kwargs too.

----------
nosy: +ztane

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

Reply via email to