entity.py
changeset 3629 559cad62c786
parent 3589 a5432f99f2d9
parent 3626 017869a514c3
child 3649 59eb710b9862
--- a/entity.py	Wed Oct 07 12:38:30 2009 +0200
+++ b/entity.py	Fri Oct 09 16:39:26 2009 +0200
@@ -61,7 +61,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. 
     """
     __registry__ = 'etypes'
     __select__ = yes()
@@ -373,7 +373,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