On Thu, Feb 19, 2009 at 6:12 PM, nick voronin <[email protected]> wrote: > > hello! > i have Storage object > > o = web.utils.Storage(a=1) > > when i can add item b=2 to object "o" witout erasing item a?
Storage object is a just a glorified dictionary. You can do everything that you can do with a dictionary. o['b'] = 2 o.b = 2 del o['b'] del o.b --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
