summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/hooks.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 73ee655ea..2c15cd690 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -1295,7 +1295,7 @@ often a class with a constructor (``__init__``), a ``text`` method, a
class ContentTypePredicate(object):
def __init__(self, val, config):
- self.val
+ self.val = val
def text(self):
return 'content_type = %s' % (self.val,)