entity.py
changeset 8705 5b3e17a63fad
parent 8697 574bb05e40a4
child 8735 5567a5117aeb
--- a/entity.py	Mon Feb 25 18:02:11 2013 +0100
+++ b/entity.py	Mon Feb 25 11:34:58 2013 +0100
@@ -521,8 +521,8 @@
 
         Example (in a shell session):
 
-        >>> companycls = vreg['etypes'].etype_class(('Company')
-        >>> personcls = vreg['etypes'].etype_class(('Person')
+        >>> companycls = vreg['etypes'].etype_class('Company')
+        >>> personcls = vreg['etypes'].etype_class('Person')
         >>> c = companycls.cw_instantiate(session.execute, name=u'Logilab')
         >>> p = personcls.cw_instantiate(session.execute, firstname=u'John', lastname=u'Doe',
         ...                              works_for=c)