Newbie question: How do I add elements to **kwargs in a function?

2009-03-16 Thread Aaron Garrett
I have spent quite a bit of time trying to find the answer on this group, but I've been unsuccessful. Here is what I'd like to be able to do: def A(**kwargs): kwargs['eggs'] = 1 def B(**kwargs): print(kwargs) def C(**kwargs): A(**kwargs) B(**kwargs) I'd like to be able to make a

Re: Newbie question: How do I add elements to **kwargs in a function?

2009-03-16 Thread Aaron Garrett
On Mar 16, 9:59 pm, Chris Rebert wrote: > On Mon, Mar 16, 2009 at 7:48 PM, Aaron Garrett > > > > wrote: > > I have spent quite a bit of time trying to find the answer on this > > group, but I've been unsuccessful. Here is what I'd like to be able to > &g