doc/book/en/devrepo/datamodel/definition.rst
changeset 10168 136e6b655cdb
parent 10136 c33dcd18e0bb
child 10222 75d6096216d7
child 10281 cc9eb88377f4
--- a/doc/book/en/devrepo/datamodel/definition.rst	Thu Jan 29 16:40:08 2015 +0100
+++ b/doc/book/en/devrepo/datamodel/definition.rst	Wed Jan 28 17:36:13 2015 +0100
@@ -615,7 +615,7 @@
 
 .. sourcecode:: python
 
-    class illustrator_of(ComputedRelationType):
+    class illustrator_of(ComputedRelation):
         rule  = ('C is Contribution, C contributor S, C manifestation O,'
                  'C role R, R name "illustrator"')
 
@@ -643,7 +643,7 @@
 ````````````````````````````````````
 
 In the above case we would define the *computed attribute*
-``total_salary`` on the ``Company`` entity type in the schema by::
+``total_salary`` on the ``Company`` entity type in the schema by:
 
 .. sourcecode:: python