mirror of https://github.com/scrapy/scrapy.git
Update exceptions.rst
There are namely no constructors in classes in Python but an ``__init__`` method instead.
This commit is contained in:
parent
cbd0bbb829
commit
38abd838ca
|
|
@ -60,7 +60,7 @@ remain disabled. Those components include:
|
|||
* Downloader middlewares
|
||||
* Spider middlewares
|
||||
|
||||
The exception must be raised in the component constructor.
|
||||
The exception must be raised in the component's ``__init__`` method
|
||||
|
||||
NotSupported
|
||||
------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue