# HG changeset patch # User Alexandre Fayolle # Date 1255096382 -7200 # Node ID 017869a514c3987be74e0afff9ac89abd8460e86 # Parent f03b55a18c43a36a517a8d509f182586f177119b [doc] updated docstrings diff -r f03b55a18c43 -r 017869a514c3 entity.py --- a/entity.py Fri Oct 09 15:10:17 2009 +0200 +++ b/entity.py Fri Oct 09 15:53:02 2009 +0200 @@ -156,7 +156,7 @@ :cvar skip_copy_for: a list of relations that should be skipped when copying this kind of entity. Note that some relations such as composite relations or relations that have '?1' as object - cardinality + cardinality are always skipped. """ __metaclass__ = _metaentity __registry__ = 'etypes' @@ -477,7 +477,9 @@ # entity cloning ########################################################## def copy_relations(self, ceid): - """copy relations of the object with the given eid on this object + """copy relations of the object with the given eid on this + object (this method is called on the newly created copy, and + ceid designates the original entity). By default meta and composite relations are skipped. Overrides this if you want another behaviour