[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - size.py:1.2
Steve Alexander
steve@cat-box.net
Fri, 27 Dec 2002 15:34:20 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv24831/src/zope/app/interfaces
Modified Files:
size.py
Log Message:
Split zpt interfaces out into the zope/app/interfaces hierarchy.
Added an ISized adapter for zpt pages.
=== Zope3/src/zope/app/interfaces/size.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/interfaces/size.py:1.1 Fri Dec 27 10:22:52 2002
+++ Zope3/src/zope/app/interfaces/size.py Fri Dec 27 15:33:50 2002
@@ -20,11 +20,10 @@
from zope.interface import Interface, Attribute
# basic units:
-# 'bytes'
-# 'number' (for example, number of subobjects for a folder)
-# None (for unsized things)
-#
-# We can use the sizeForSorting to get us sizes all in bytes for example.
+# 'byte'
+# 'item' for example, number of subobjects for a folder
+# None for unsized things
+# 'line' for source-code like things
class ISized(Interface):