Scrapy, a fast high-level web crawling & scraping framework for Python.
Add __repr__ method for BaseSettings
Jakob de Maeyer90198e5324f3
diff --git a/scrapy/settings/__init__.py b/scrapy/settings/__init__.pyindex 6c922a709..3ae2187ae 100644--- a/scrapy/settings/__init__.py+++ b/scrapy/settings/__init__.py@@ -378,7 +378,8 @@ class BaseSettings(MutableMapping):def __str__(self):return str(self.attributes)- __repr__ = __str__+ def __repr__(self):+ return "<%s %s>" % (self.__class__.__name__, self.attributes)@propertydef overrides(self):