News for hackers. Stuff that matters.
Re:Understanding python *args and **kwargs by drawkbox on Friday October 02, 2009 @03:37PM (#857828)
No kidding.

  A much, much more simple way to put it is 
  anything *args is a list, anything  **kwargs is 
  a dictionary.

  The * simply means list (set). 
  ** simply means dictionary (name/value pairs)

  * and ** has a much different meaning in other 
  languages as parameters.

  * args is very similar to ... in other languages 
  that let you send n arguments.

There are no comments on this comment yet.