summaryrefslogtreecommitdiff
path: root/src/zope/interface/declarations.py
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2021-03-17 07:35:12 -0500
committerJason Madden <jamadden@gmail.com>2021-03-17 07:39:49 -0500
commit488a317abdfa2a1fa04efd2f2d8d22a433beaaf8 (patch)
treeee112ad969b0ca5987d56b471dd34818e67f8a22 /src/zope/interface/declarations.py
parentdd69666aae99afe0d47b3af81149fbd7e97f59fe (diff)
downloadzope-interface-docs-update.tar.gz
Update the Adaptation docs to be more concrete.docs-update
This should help provide better motivating use cases. Examples inspired by https://glyph.twistedmatrix.com/2021/03/interfaces-and-protocols.html Also some minor typo fixes and updates to comments.
Diffstat (limited to 'src/zope/interface/declarations.py')
-rw-r--r--src/zope/interface/declarations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zope/interface/declarations.py b/src/zope/interface/declarations.py
index 9a0146c..1b2328e 100644
--- a/src/zope/interface/declarations.py
+++ b/src/zope/interface/declarations.py
@@ -1040,7 +1040,8 @@ def moduleProvides(*interfaces):
# XXX: is this a fossil? Nobody calls it, no unit tests exercise it, no
# doctests import it, and the package __init__ doesn't import it.
-# (Answer: Versions of zope.container prior to 4.4.0 called this.)
+# (Answer: Versions of zope.container prior to 4.4.0 called this,
+# and zope.proxy.decorator up through at least 4.3.5 called this.)
def ObjectSpecification(direct, cls):
"""Provide object specifications