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

Yury Selivanov yselivanov.ml at gmail.com
Fri Jun 22 22:44:39 CEST 2012


On 2012-06-22, at 4:20 PM, Terry Reedy wrote:

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=). Like replace(*, name=, kind=, default=, annotation=) -> Parameter or replace(*, name=, kind=, default=, annotation=) -> Parameter I do not undertand the 'or'. I hope you mean default argument expressions in the standard manner rather than '' or ''.

It's now in the updated PEP. We use '' notation just to specify that the parameter is optional, i.e. can (or in some cases should) be omitted.



More information about the Python-Dev mailing list