Kevin <kevin.guillaum...@gmail.com> added the comment:

I have read issue33967 before posting this one.

The error message was introduced there, but the behavior hasn't changed.

The problem that issue33967 solves is that while singledispatch requires at 
least one positional argument, there was no explicit error message that told 
you that when you didn't pass any.

What this issue is about, is that singledispatch could also work without 
positional arguments IF only one keyword argument is provided.

----------

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

Reply via email to