# HG changeset patch # User Denis Laxalde # Date 1422462973 -3600 # Node ID 136e6b655cdb07eaa2fc3077b7990744c6994aed # Parent de62952550d9571c44b09c57c9199505d01ae397 [doc] Fix class name for ComputedRelation; fix code block about computed attributes diff -r de62952550d9 -r 136e6b655cdb doc/book/en/devrepo/datamodel/definition.rst --- 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