On Dec 31, 2006, at 4:26 AM, Kay Schluehr wrote: > 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? >
Yes, PEP 3102 Keyword-only Arguments. > 2) Is the func_annotation information for def foo(*c: list) > stored as {"*c": list} preserving optional argument information or > {"c":list} ? > {"c": list} -Tony -- http://mail.python.org/mailman/listinfo/python-list