Serhiy Storchaka added the comment:

It would be possible to make _PyArg_NoKeywords() adding "()" only if the passed 
argument don't contain them. But since this is a private API, it was easier to 
just remove "()" from arguments. In any case most uses of _PyArg_NoKeywords() 
are generated by Argument Clinic and they don't pass "()" in the argument.

----------

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

Reply via email to