summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2015-01-26 14:12:23 -0800
committerMarc Abramowitz <marc@marc-abramowitz.com>2015-01-26 14:21:17 -0800
commitf3766c7652cc130598913d74a0b706b26dc71e1f (patch)
treec49630d133e77468df7b0c2c6c87f1a98ba0cc76 /docs
parentc7268993ef1edeeac8c5893f5874c97ce13eb0af (diff)
downloadzope-interface-f3766c7652cc130598913d74a0b706b26dc71e1f.tar.gz
docs/README.rst: Small tweaks
Diffstat (limited to 'docs')
-rw-r--r--docs/README.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/README.rst b/docs/README.rst
index 760667d..bb5f9cd 100644
--- a/docs/README.rst
+++ b/docs/README.rst
@@ -21,7 +21,7 @@ see below.
Defining interfaces
===================
-Interfaces are defined using Python class statements:
+Interfaces are defined using Python ``class`` statements:
.. doctest::
@@ -34,11 +34,11 @@ Interfaces are defined using Python class statements:
... def bar(q, r=None):
... """bar blah blah"""
-In the example above, we've created an interface, `IFoo`. We
-subclassed `zope.interface.Interface`, which is an ancestor interface for
+In the example above, we've created an interface, :class:`IFoo`. We
+subclassed :class:`zope.interface.Interface`, which is an ancestor interface for
all interfaces, much as `object` is an ancestor of all new-style
classes [#create]_. The interface is not a class, it's an Interface,
-an instance of `InterfaceClass`:
+an instance of :class:`zope.interface.interface.InterfaceClass`:
.. doctest::