Correct typo in example
authorJérôme Roy <jerome.roy@logilab.fr>
Mon, 25 Feb 2013 11:34:58 +0100
changeset 8705 5b3e17a63fad
parent 8704 933f9693c53d
child 8706 e362054d9701
Correct typo in example
entity.py
--- 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)