(self)
Python 3 next (key, value) of environment
Python 3 next (key, value) of environment
Python 3 next ( key value ) of environment
def __next__(self):
        """Python 3 next (key, value) of environment"""
        if self._index < len(self._keys):
            key = self._keys[self._index]
            value = self._uenv.env[key]
            self._index += 1
            return (key, value)
        raise StopIteration
def __next__ ( self ) : if self . _index < len ( self . _keys ) : key = self . _keys [ self . _index ] value = self . _uenv . env [ key ] self . _index += 1 return ( key , value ) raise StopIteration