[Zope3-checkins] CVS: Zope3/src/zope/interface - interface.py:1.3

Steve Alexander steve@cat-box.net
Mon, 30 Dec 2002 09:01:46 -0500


Update of /cvs-repository/Zope3/src/zope/interface
In directory cvs.zope.org:/tmp/cvs-serv23767/src/zope/interface

Modified Files:
	interface.py 
Log Message:
use bools for boolean values.


=== Zope3/src/zope/interface/interface.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/interface.py:1.2	Wed Dec 25 09:13:42 2002
+++ Zope3/src/zope/interface/interface.py	Mon Dec 30 09:01:45 2002
@@ -132,7 +132,7 @@
     def getBases(self):
         return self.__bases__
 
-    def extends(self, other, strict=1):
+    def extends(self, other, strict=True):
         """Does an interface extend another?"""
         if not strict and self is other:
             return True