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

def configobj::Section::popitem (   self )
Pops the first (key,val)

Definition at line 694 of file configobj.py.

        """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

Generated by  Doxygen 1.6.0   Back to index