[Zope3-checkins] CVS: Zope3/src/zope/schema - _schema.py:1.4

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


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

Modified Files:
	_schema.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/schema/_schema.py 1.3 => 1.4 ===
--- Zope3/src/zope/schema/_schema.py:1.3	Thu Jan  9 09:13:18 2003
+++ Zope3/src/zope/schema/_schema.py	Sat Jan 25 00:13:48 2003
@@ -22,7 +22,7 @@
     """
     from zope.schema.interfaces import IField
     fields = {}
-    for name in schema.names(1):
+    for name in schema.names(all=True):
         attr = schema.getDescriptionFor(name)
         if IField.isImplementedBy(attr):
             fields[name] = attr