[EMAIL PROTECTED] wrote:
> | would use a recursive approach for this - given that you have a sort
> of recursive datastructure:
>
> py> def SetNewDataParam2(Data, NewData):
> ...     if type(Data[Data.keys()[0]]) == type(dict()):


Note:

|>> type(dict()) is dict
True

"dict" *is* a type...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to