graphit/graph_storage_drivers/graph_driver_baseclass.py
def popitem(self):
        """
        Dictionary like popitem methods
        
        Remove and return some (key, value) pair as a 2-tuple but raises
        KeyError if the object is empty.
        
        :return: key, value pair
        :rtype:  :py:tuple
        """
        
        try:
            key = next(iter(self))
        except StopIteration:
            raise KeyError

        value = self[key]
        del self[key]
        return key, value

        Dictionary like popitem methods
        
        Remove and return some (key, value) pair as a 2-tuple but raises
        KeyError if the object is empty.
        
        :return: key, value pair
        :rtype:  :py:tuple
        
Dictionary like popitem methods
Remove and return some (key, value) pair as a 2-tuple but raises
KeyError if the object is empty.
Dictionary like popitem methods Remove and return some ( key value ) pair as a 2 - tuple but raises KeyError if the object is empty .
def popitem(self):
        try:
            key = next(iter(self))
        except StopIteration:
            raise KeyError
        value = self[key]
        del self[key]
        return key, value
def popitem ( self ) : try : key = next ( iter ( self ) ) except StopIteration : raise KeyError value = self [ key ] del self [ key ] return key , value
Dictionary like popitem methods
Remove and return some (key, value) pair as a 2-tuple but raises
KeyError if the object is empty.
Dictionary like popitem methods Remove and return some ( key value ) pair as a 2 - tuple but raises KeyError if the object is empty .
"""
        Dictionary like popitem methods
        
        Remove and return some (key, value) pair as a 2-tuple but raises
        KeyError if the object is empty.
        
        :return: key, value pair
        :rtype:  :py:tuple
        """
key, value pair
key value pair
:py:tuple
self