[Tutor] kwds

Adam Pridgen atpridgen at mail.utexas.edu
Wed Apr 11 06:59:27 CEST 2007


Hello,

I am having a difficult time understanding the whole "def
function(*args, **kwds):" business, and I have not really found a
clear or concise explanation via Google.

My question is pretty much this, is **kwds a dictionary and can I use
it like a dictionary, and what is the deal with the * or **?


Sometime ago I found something explaining the basics of these
parameters, but I lost the link and I lost that warm and fuzzy feeling
I had about them ;).

Thanks in advance,

Adam


More information about the Tutor mailing list