This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doerwalter
Recipients docs@python, doerwalter, python-dev, r.david.murray, terry.reedy, yselivanov
Date 2014-12-09.13:33:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The updated code in the documentation still doesn't set the * and ** parameters. I would have preferred the following code:

  for param in sig.parameters.values():
    if not in ba.arguments:
      if param.kind is inspect.Parameter.VAR_POSITIONAL:
        default = ()
      elif param.kind is inspect.Parameter.VAR_KEYWORD:
        default = {}
        default = param.default
      ba.arguments[] = default
Date User Action Args
2014-12-09 13:33:49doerwaltersetrecipients: + doerwalter, terry.reedy, r.david.murray, docs@python, python-dev, yselivanov
2014-12-09 13:33:49doerwaltersetmessageid: <>
2014-12-09 13:33:49doerwalterlinkissue22998 messages
2014-12-09 13:33:49doerwaltercreate