Chris Jerdonek added the comment: I could be misinterpreting the documentation, but it looks to me like the examples given are behaving as documented:
parameter_list ::= (defparameter ",")* ( "*" [parameter] ("," defparameter)* [, "**" parameter] | "**" parameter | defparameter [","] ) (from http://docs.python.org/dev/reference/compound_stmts.html#function-definitions ) The relevant clause in the above looks to be the following, which can't give rise to a trailing comma: "*" [parameter] ("," defparameter)* [, "**" parameter] ---------- nosy: +chris.jerdonek _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16319> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com