[Python-Dev] A Desperate Plea For Introspection (aka: BDFAP Needed)

Terry Reedy tjreedy at udel.edu
Fri Jun 22 22:20:52 CEST 2012


On 6/22/2012 3:24 PM, Yury Selivanov wrote:
> On 2012-06-22, at 3:18 PM, Guido van Rossum wrote:

>> Hardly, because that's not valid syntax. I'd write name(arg1, *,
>> arg2=<default>).
>
> Like
>
>      replace(*, name=<default>, kind=<default>, default=<default>,
>                                    annotation=<default>) -> Parameter
>
> or
>
>      replace(*, name=<optional>, kind=<optional>, default=<optional>,
>                                    annotation=<optional>) -> Parameter

I do not undertand the 'or'. I hope you mean default argument 
expressions in the standard manner rather than '<default>' or '<optional>'.

-- 
Terry Jan Reedy





More information about the Python-Dev mailing list