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

R. David Murray bitz@bitdance.com
Sat, 25 Jan 2003 00:14:18 -0500


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

Modified Files:
	interface.py 
Log Message:
Use keyword instead of positional arg (and Boolean instead of 1)
to make it more obvious to someone browsing the code what is going
on when the interface 'names' method is called.


=== Zope3/src/zope/interface/interface.py 1.4 => 1.5 ===
--- Zope3/src/zope/interface/interface.py:1.4	Mon Jan 20 15:02:29 2003
+++ Zope3/src/zope/interface/interface.py	Sat Jan 25 00:13:44 2003
@@ -195,7 +195,7 @@
         return r.keys()
 
     def __iter__(self):
-        return iter(self.names(1))
+        return iter(self.names(all=True))
 
     def namesAndDescriptions(self, all=0):
         """Return attribute names and descriptions defined by interface."""