From 4018f07d17a18cc51cbdc209a3f3c4934facd6b5 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Mon, 19 Jan 2009 03:14:23 +0000 Subject: [PATCH] minor update to topics/settings.rst --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40749 --- scrapy/trunk/docs/topics/settings.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scrapy/trunk/docs/topics/settings.rst b/scrapy/trunk/docs/topics/settings.rst index fea85c4e3..5c5504c42 100644 --- a/scrapy/trunk/docs/topics/settings.rst +++ b/scrapy/trunk/docs/topics/settings.rst @@ -87,7 +87,12 @@ In other words, settings can be accesed like a dict, but it's usually preferred to extract the setting in the format you need it to avoid type errors. In order to do that you'll have to use one of the following methods: -.. class:: Settings +.. class:: Settings() + + The Settings object is automatically instantiated when the + :mod:`scrapy.conf` module is loaded, and it's usually accessed like this:: + + >>> from scrapy.conf import settings .. method:: Settings.get(name, default=None)