summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/zcml.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/zcml.rst b/docs/zcml.rst
index 18afc81..6bcd786 100644
--- a/docs/zcml.rst
+++ b/docs/zcml.rst
@@ -690,13 +690,12 @@ subscriber should be registered for:
>>> clearZCML()
>>> runSnippet('''
... <subscriber
- ... provides="zope.component.testfiles.adapter.IS"
... factory="zope.component.testfiles.adapter.A3"
... />''')
>>> content = Content()
>>> a2 = A2()
- >>> subscribers = zope.component.subscribers((content, a1, a2), IS)
+ >>> subscribers = zope.component.subscribers((content, a1, a2), I3)
>>> a3 = subscribers[0]
>>> a3.__class__ is A3