def iter_default_settings():
    """Return the default settings as an iterator of (name, value) tuples"""
    for name in dir(default_settings):
        if name.isupper():
            yield name, getattr(default_settings, name)
Return the default settings as an iterator of (name, value) tuples
stackoverflow/venv/lib/python3.6/site-packages/scrapy/settings/__init__.py