__init__.py
branchstable
changeset 3667 3a8caefec1fc
parent 3651 633b8971c95a
child 3669 4eb33ee29c84
--- a/__init__.py	Tue Oct 13 09:17:53 2009 +0200
+++ b/__init__.py	Wed Oct 14 14:09:22 2009 +0200
@@ -127,8 +127,9 @@
         
         Example (in a shell session):
 
-        c = create_entity('Company', name='Logilab')
-        create_entity('Person', ('works_for', 'Y'), Y=c.eid, firstname='John', lastname='Doe')
+        c = create_entity('Company', name=u'Logilab')
+        create_entity('Person', ('works_for', 'Y'),
+                      Y=c.eid, firstname=u'John', lastname=u'Doe')
 
         """
         rql = 'INSERT %s X' % etype