Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

def configobj::Section::popitem (   self  ) 

Pops the first (key,val)

Definition at line 634 of file configobj.py.

00634                      :
        """Pops the first (key,val)"""
        sequence = (self.scalars + self.sections)
        if not sequence:
            raise KeyError, ": 'popitem(): dictionary is empty'"
        key = sequence[0]
        val =  self[key]
        del self[key]
        return key, val

    def clear(self):

Generated by  Doxygen 1.6.0   Back to index