[Zope3-checkins] CVS: Products3/xmldom - core.py:1.3

Steve Alexander steve@cat-box.net
Sat, 7 Jun 2003 13:38:58 -0400


Update of /cvs-repository/Products3/xmldom
In directory cvs.zope.org:/tmp/cvs-serv1916

Modified Files:
	core.py 
Log Message:
added comment explaining why DOMProperty derives from ContextProperty


=== Products3/xmldom/core.py 1.2 => 1.3 ===
--- Products3/xmldom/core.py:1.2	Sat Jun  7 13:31:40 2003
+++ Products3/xmldom/core.py	Sat Jun  7 13:38:58 2003
@@ -108,6 +108,8 @@
     #("load", "3.0"),
     )
 
+# DOMProperty could just be a property, but if we make it a ContextProperty
+# then we avoid a level of indirection when used in a ContextAware class.
 class DOMProperty(ContextProperty):
 
     _readonly = 0