[issue20326] Argument Clinic should use a non-error-prone syntax to mark text signatures

Stefan Krah report at bugs.python.org
Sun Jan 26 15:15:48 CET 2014


Stefan Krah added the comment:

> What is the redundant info?

{"__rdivmod__", __builtin_offsetof (PyHeapTypeObject, as_number.nb_divmod), (void *)(slot_nb_divmod), wrap_binaryfunc_r, "sig=($self, value)\n" "sig=($self, value)\nReturns divmod(value, self)."}

There are two "sig" instances. What Nick said is that the situation was pretty
much the same before the "sig" patch and should be fixed regardless:

{"__rdivmod__", __builtin_offsetof (PyHeapTypeObject, as_number.nb_divmod), (void *)(slot_nb_divmod), wrap_binaryfunc_r, "__rdivmod__" "(self, value)\n" "__rdivmod__(self, value)\nReturns divmod(value, self)."}

----------

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


More information about the Python-bugs-list mailing list