[ZPT] CVS: Zope/lib/python/Products/PageTemplates/help - ZTUtils.py:1.3

Amos Latteier amos@zope.com
Thu, 1 Nov 2001 14:01:03 -0500


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates/help
In directory cvs.zope.org:/tmp/cvs-serv32313

Modified Files:
	ZTUtils.py 
Log Message:
Moved 'size' to after 'length' since almost everyone wants 'length', not 'size'.


=== Zope/lib/python/Products/PageTemplates/help/ZTUtils.py 1.2 => 1.3 ===
     Batches have these public attributes:
 
-    size -- The desired size. Note that this can be different than the
-    actual length of the batch due to orphan settings.
-
     start -- The first element number (counting from 1).
 
-    first -- The first element index (counting from 0, this is start -
-    1).
+    first -- The first element index (counting from 0). Note that this
+    is that same as start - 1.
 
     end -- The last element number (counting from 1).
 
@@ -45,6 +42,9 @@
 
     length -- The actual length of the batch. Note that this can be
     different than size due to orphan settings.
+
+    size -- The desired size. Note that this can be different than the
+    actual length of the batch due to orphan settings.
 
     previous -- The previous batch or None if this is the first batch.