[issue20227] Argument Clinic: rename arguments in generated C?

Ryan Smith-Roberts report at bugs.python.org
Sat Jan 18 22:12:12 CET 2014


Ryan Smith-Roberts added the comment:

I believe the feature you starred resolves this enhancement issue, in which case my patches are obsolete. And yes, the 'as' syntax makes a lot more sense. Here's how I hope it works (the arg parsing wrapper remains unchanged):

   foo: int
...
_impl(..., int foo)

can become

    foo: int as bar
...
_impl(..., int bar)

----------

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


More information about the Python-bugs-list mailing list