entity.py
changeset 9340 b1e933b0e850
parent 9293 723e2c586ea3
parent 9310 80c58c35145f
child 9359 31a1813d53f3
--- a/entity.py	Mon Sep 09 12:43:25 2013 +0200
+++ b/entity.py	Mon Dec 09 16:13:10 2013 +0100
@@ -1268,8 +1268,8 @@
 
         >>> c = rql('Any X WHERE X is Company').get_entity(0, 0)
         >>> p = rql('Any X WHERE X is Person').get_entity(0, 0)
-        >>> c.set(name=u'Logilab')
-        >>> p.set(firstname=u'John', lastname=u'Doe', works_for=c)
+        >>> c.cw_set(name=u'Logilab')
+        >>> p.cw_set(firstname=u'John', lastname=u'Doe', works_for=c)
 
         You can also set relations where the entity has 'object' role by
         prefixing the relation name by 'reverse_'.  Also, relation values may be