def __iter__(self):
        """Yield names and current values of attributes that can be set from Sphinx config files."""
        for name in (n for n in dir(self) if not n.startswith('_') and not callable(getattr(self, n))):
            yield name, getattr(self, name)
def __iter__ ( self ) : for name in ( n for n in dir ( self ) if not n . startswith ( '_' ) and not callable ( getattr ( self , n ) ) ) : yield name , getattr ( self , name )
Yield names and current values of attributes that can be set from Sphinx config files.