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

Nick Coghlan report at bugs.python.org
Wed Jan 22 13:08:28 CET 2014


Nick Coghlan added the comment:

Right, at the very least we want to handle positional only arguments (since PEP 362 also handles those).

My one concern with using "def " as the prefix is the fact it's not actually Python syntax.

How do you feel about using "sig: " as the prefix? That would still read sensibly even if you somehow got hold of the unaltered C level docstring rather than going through the properties.

----------

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


More information about the Python-bugs-list mailing list