On Nov 8, 3:16 pm, Steven D'Aprano wrote: > content = Data.Dict.SaveEvents(Data.Plist.Events) or content > > This will leave content unchanged if no error is returned, otherwise it > will replace the value. Ah, the 'or' operator does it. Thank you, that is exactly what I was looking for.
I should confess, I am not a programmer and don't even know what "idiomatic" means in this context. I don't know Java or PHP, only a little Forth from the HP calculator era. Advanced topics I just skip over because I don't understand them. But I am learning slowly and appreciate the help. -- Rachel http://Sectrum.com -- http://mail.python.org/mailman/listinfo/python-list