[issue19976] Argument Clinic: generate second arg for METH_NOARGS

Stefan Krah report at bugs.python.org
Fri Dec 13 17:15:36 CET 2013


Stefan Krah added the comment:

Larry Hastings <report at bugs.python.org> wrote:
> To do it properly with Clang requires a pragma:

Hmm. I just tested and clang warns with -Wall -W, but does not warn if
__attribute__((unused)) is present.

The macro I posted really works on all obscure buildbot platforms.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19976>
_______________________________________


More information about the Python-bugs-list mailing list