newbie question

S.Mohideen moin at blackhole.labs.rootshell.ws
Sun Feb 25 19:49:56 EST 2007


>>> asd={}
>>> asd={1:2,3:4,4:5}
>>> print asd
{1: 2, 3: 4, 4: 5}

>>> asd.has_key(3)
True
>>> asd.update()
>>> print asd
{1: 2, 3: 4, 4: 5}
>>>

what does asd.update() signifies. What is the use of it. Any comments would 
help to understand it.

Thanks
Mohideen 




More information about the Python-list mailing list