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

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


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

Modified Files:
	interfaces.py 
Log Message:
Used bools for boolean values.


=== Zope3/src/zope/interface/interfaces.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/interfaces.py:1.2	Wed Dec 25 09:13:42 2002
+++ Zope3/src/zope/interface/interfaces.py	Mon Dec 30 09:01:21 2002
@@ -174,7 +174,7 @@
     def getBases():
         """Return a sequence of the base interfaces."""
 
-    def extends(other, strict=1):
+    def extends(other, strict=True):
         """Test whether the interface extends another interface
 
         A true value is returned in the interface extends the other
@@ -202,7 +202,7 @@
         interface.
         """
 
-    def names(all=0):
+    def names(all=False):
         """Get the interface attribute names
 
         Return a sequence of the names of the attributes, including
@@ -213,7 +213,7 @@
         attributes defined by nase classes will be included.
         """
 
-    def namesAndDescriptions(all=0):
+    def namesAndDescriptions(all=False):
         """Get the interface attribute names and descriptions
 
         Return a sequence of the names and descriptions of the