[Zodb-checkins] CVS: Zope/lib/python/ZConfig - info.py:1.10

Fred L. Drake, Jr. fred@zope.com
Wed, 5 Feb 2003 18:23:31 -0500


Update of /cvs-repository/Zope/lib/python/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv16024

Modified Files:
	info.py 
Log Message:
AbstractTypes can have descriptions too!


=== Zope/lib/python/ZConfig/info.py 1.9 => 1.10 ===
--- Zope/lib/python/ZConfig/info.py:1.9	Fri Jan 10 15:37:49 2003
+++ Zope/lib/python/ZConfig/info.py	Wed Feb  5 18:23:26 2003
@@ -205,11 +205,12 @@
 
 class AbstractType:
     __metaclass__ = type
-    __slots__ = '_subtypes', 'name'
+    __slots__ = '_subtypes', 'name', 'description'
 
     def __init__(self, name):
         self._subtypes = {}
         self.name = name
+        self.description = None
 
     def addsubtype(self, type):
         self._subtypes[type.name] = type