Interesting Syntax: 'Bunch' class
Andy Todd
atodd at spam.free.email.com
Mon Apr 9 02:27:39 EDT 2001
>From an earlier thread I picked up Alex Martelli's 'bunch' class from the
Active State cookbook (
http://www.activestate.com/ASPN/Python/Cookbook/Recipe/52308). I love this
and will no doubt use it time and again. However, I'm puzzled by a bit of
syntax that I haven't seen before and can't find (easily) in the manual,
viz;
" def __init__(self, **kwds):"
What is the "**kwds" a reference to? All help greatfully received ...
Regards,
Andy
--
Content free posts a speciality
More information about the Python-list
mailing list