From 38abd838ca9dfd99d8abfd05b6cc4287af626c05 Mon Sep 17 00:00:00 2001 From: Matti Remes Date: Sat, 3 Sep 2016 17:36:47 +0300 Subject: [PATCH] Update exceptions.rst There are namely no constructors in classes in Python but an ``__init__`` method instead. --- docs/topics/exceptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/exceptions.rst b/docs/topics/exceptions.rst index 9f8d16d84..2dc4c3b45 100644 --- a/docs/topics/exceptions.rst +++ b/docs/topics/exceptions.rst @@ -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 ------------