John Salerno <[EMAIL PROTECTED]> writes:

> Ben Finney wrote:
> > If you pass a *mapping* of the
> > "I-might-want-to-add-more-in-the-future" values, then you get both
> > explicit *and* expandable, without an arbitrary unneeded sequence.
>
> Do you mean by using the **kwargs parameter?

No. I mean what I said in this earlier post on this thread:

    <URL:http://groups.google.com/group/comp.lang.python/msg/b413bb1f311e7ee1>

If you have a group of named, semantically-related, unsequenced
values, pass them into the function as a mapping object (a dict
object).

-- 
 \         "I have yet to see any problem, however complicated, which, |
  `\      when you looked at it in the right way, did not become still |
_o__)                             more complicated."  -- Paul Anderson |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to