doc/book/en/devrepo/datamodel/definition.rst
changeset 9255 46f41c3e1443
parent 8125 7070250bf50d
child 9320 15bd24f9b9e0
--- a/doc/book/en/devrepo/datamodel/definition.rst	Fri Oct 04 17:05:49 2013 +0200
+++ b/doc/book/en/devrepo/datamodel/definition.rst	Mon Aug 26 16:12:30 2013 +0200
@@ -226,13 +226,13 @@
 * `SizeConstraint`: allows to specify a minimum and/or maximum size on
   string (generic case of `maxsize`)
 
-* `BoundConstraint`: allows to specify a minimum and/or maximum value
+* `BoundaryConstraint`: allows to specify a minimum and/or maximum value
   on numeric types and date
 
 .. sourcecode:: python
 
-   from yams.constraints import BoundConstraint, TODAY
-   BoundConstraint('<=', TODAY())
+   from yams.constraints import BoundaryConstraint, TODAY
+   BoundaryConstraint('<=', TODAY())
 
 * `IntervalBoundConstraint`: allows to specify an interval with
   included values