minor update to topics/settings.rst

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40749
This commit is contained in:
Pablo Hoffman 2009-01-19 03:14:23 +00:00
parent a29fed066c
commit 4018f07d17
1 changed files with 6 additions and 1 deletions

View File

@ -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)