[Zope-Checkins] CVS: Zope3/lib/python/ZopeLegacy/OFS - ZDOM.py:1.9.192.1

Guido van Rossum guido@python.org
Thu, 13 Dec 2001 13:07:51 -0500


Update of /cvs-repository/Zope3/lib/python/ZopeLegacy/OFS
In directory cvs.zope.org:/tmp/cvs-serv12427/ZopeLegacy/OFS

Modified Files:
      Tag: Zope-3x-branch
	ZDOM.py 
Log Message:
Finish Feature -> Adapter conversion

=== Zope3/lib/python/ZopeLegacy/OFS/ZDOM.py 1.9 => 1.9.192.1 ===
     __ac_permissions__=(
         ('Access contents information',
-            ('hasFeature'),
+            ('hasAdapter'),
         ),         
     )
     
-    def hasFeature(self, feature, version = None):
+    def hasAdapter(self, feature, version = None):
         """ 
-        hasFeature - Test if the DOM implementation implements a specific
+        hasAdapter - Test if the DOM implementation implements a specific
         feature. Parameters: feature The package name of the feature to
         test. In Level 1, the legal values are "HTML" and "XML"
         (case-insensitive). version This is the version number of the