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

Stefan Krah report at bugs.python.org
Sun Jan 26 14:23:54 CET 2014


Stefan Krah added the comment:

I like the "sig=" and the "$".  There seems to be a small glitch in __rdivmod__:

help(int.__rdivmod__)

__rdivmod__(<self>, value)
    sig=($self, value)
    Returns divmod(value, self).

The sig line is shown (and the preferred form is the imperative "Return divmod").

----------

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


More information about the Python-bugs-list mailing list