Is '*args' useful in this example code?

Ben Finney ben+python at benfinney.id.au
Mon Jan 4 21:26:18 EST 2016


Robert <rxjwg98 at gmail.com> writes:

> I understand now, but I feel the args usage is weird. I don't see any way 
> to use *args and **kwargs in above code. What is your opinion on it?

Can you show example code that you would expect, and specifically what about
the actual code doesn't match what you expect?

-- 
 \        “Of course, everybody says they're for peace. Hitler was for |
  `\      peace. Everybody is for peace. The question is: what kind of |
_o__)                                peace?” —Noam Chomsky, 1984-05-14 |
Ben Finney




More information about the Python-list mailing list