[Python-Dev] PEP 362 Third Revision (original) (raw)
Ethan Furman ethan at stoneleaf.us
Thu Jun 14 17:52:10 CEST 2012
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brett Cannon wrote:
On Thu, Jun 14, 2012 at 9:50 AM, Yury Selivanov <yselivanov.ml at gmail.com_ _<mailto:yselivanov.ml at gmail.com>> wrote: [SNIP]
Let's consider replacement of 'Parameter.is*' set of attributes with a single 'Parameter.kind' attribute, which will have the following possible values: 'positional', 'vararg', 'keyword-only', 'varkwarg'. (I think 'positional' is more intuitive than 'index'?) +1 if this change is made.
+1 to using 'kind', and another +1 to using 'kwarg' instead of 'varkwarg'.
Ethan
- Previous message: [Python-Dev] PEP 362 Third Revision
- Next message: [Python-Dev] PEP 362 Third Revision
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]