You understood correctly. I have been searching and can not find a
good Python Reference showing Methods and Functions that are
available, any suggestions?

Thanks.

On Apr 11, 1:25 am, Rotem Tamir <[email protected]> wrote:
> i usually use
>
> if kwargs.has_key('foo'):
>    do stuff...
>
> for this kind of behaviour
>
> and you can simply change around the kwargs dict before passing it on
> i.e
>
> def new_post(self,**kw):
>   kw['member_id']=Member.get(kw['member_id'])
>   ...
>   p = Post(**kw)
>


> i hope i understood your question properly,
> Rotem

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to