diff --git a/product/ERP5Type/Interface/Constraint.py b/product/ERP5Type/Interface/Constraint.py
index b35e57bd7cb73be15c245fb93e985f43e98252e9..6367b4e94e6105218c93c6ca15ff2c77e66dc90b 100644
--- a/product/ERP5Type/Interface/Constraint.py
+++ b/product/ERP5Type/Interface/Constraint.py
@@ -77,9 +77,6 @@ class Constraint(Interface):
   Products.ERP5Type.Core.Folder.Folder, checkConsistency will be called
   recursivly.
     
-  XXX How to call only one constraint, even if this constraint is not defined
-  on property sheet ?
-
   """
   
   def checkConsistency(obj, fixit=0):
@@ -95,7 +92,7 @@ class Constraint(Interface):
     can simply call::
        
       >>> if something_is_wrong:
-      >>>   errors.append(self._generateError(obj, 'Something is wrong !')
+      >>>   error_list.append(self._generateError(obj, 'Something is wrong !')
     
     Then this message ("Something is wrong !") will be translated when the
     caller of document.checkConsistency() calls getTranslatedMessage() on
@@ -105,7 +102,7 @@ class Constraint(Interface):
     'mapping' for substitution, like this::
     
       >>> if something_is_wrong:
-      >>>   errors.append(self._generateError(obj,
+      >>>   error_list.append(self._generateError(obj,
       ...      'Something is wrong: ${wrong_thing}',
       ...      mapping=dict(wrong_thing=obj.getTheWrongThing())))