PEP 3107 Function Annotations for review and comment

Kay Schluehr kay.schluehr at gmx.net
Sun Dec 31 07:26:40 EST 2006


I have two questions:

1) I don't understand the clause ('*' [tname] (',' tname ['=' test])*
in the grammar rule of typedargslist. Does it stem from another PEP?

2) Is the func_annotation information for def foo(*c: list)
stored as {"*c": list} preserving optional argument information or
{"c":list} ?

Regards,
Kay




More information about the Python-list mailing list