dict.popitem
a.popitem() remove and return an arbitrary (key, value) pair.
dict.popitem is useful to destructively iterate over a dictionary, as often used in set algorithms. If the dictionary is empty, calling dict.popitem raises a KeyError.
a.popitem() remove and return an arbitrary (key, value) pair.
dict.popitem is useful to destructively iterate over a dictionary, as often used in set algorithms. If the dictionary is empty, calling dict.popitem raises a KeyError.
this page was rendered by a django application in 0.02s 2010-09-02 15:16:22.369608. hosted by webfaction.