summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2020-04-03 06:11:02 -0500
committerJason Madden <jamadden@gmail.com>2020-04-06 09:14:45 -0500
commit1af83ef9f90aa7a558314892b72eec6d62263981 (patch)
tree51b90d4cee2a99c5725c26c76c7e8c292f466742 /docs/api
parent139bab56a722ac9f350c55f24e47b2decd1c2e1e (diff)
downloadzope-interface-1af83ef9f90aa7a558314892b72eec6d62263981.tar.gz
Add documentation for taggedValue and invariant.
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/declarations.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/api/declarations.rst b/docs/api/declarations.rst
index 26847b0..955d246 100644
--- a/docs/api/declarations.rst
+++ b/docs/api/declarations.rst
@@ -18,6 +18,24 @@ carefully at each object it documents, including providing examples.
.. currentmodule:: zope.interface
+Declaring Interfaces
+====================
+
+To declare an interface itself, extend the ``Interface`` base class.
+
+.. autointerface:: Interface
+ :noindex:
+
+.. autofunction:: taggedValue
+ :noindex:
+
+ .. documented more thoroughly in README.rst
+
+.. autofunction:: invariant
+ :noindex:
+
+ .. documented in README.rst
+
Declaring The Interfaces of Objects
===================================