[Zope-CVS] CVS: Packages/pypes/pypes - query.py:1.8
Casey Duncan
casey at zope.com
Mon Apr 19 01:14:28 EDT 2004
Update of /cvs-repository/Packages/pypes/pypes
In directory cvs.zope.org:/tmp/cvs-serv11429
Modified Files:
query.py
Log Message:
clarify iterProduct docstring
=== Packages/pypes/pypes/query.py 1.7 => 1.8 ===
--- Packages/pypes/pypes/query.py:1.7 Mon Apr 19 01:12:45 2004
+++ Packages/pypes/pypes/query.py Mon Apr 19 01:14:27 2004
@@ -84,10 +84,10 @@
return reduce(mul, [len(ipt) for ipt in self.inputs.values()])
def iterProduct(self, *names):
- """Iterate the cartesian product yielding items from the inputs named.
- If a single name is specified, yield each matching item from the input.
- If multiple names are specified, yield tuples of the matching items
- from the cooresponding named inputs.
+ """Iterate the cartesian product yielding items from the inputs named
+ where the criteria is satisfied. If a single name is specified, yield
+ each matching item from the input. If multiple names are specified,
+ yield tuples of the matching items from the cooresponding named inputs.
"""
criteria = self.criteria
# Prime the input iterators and get the first row
More information about the Zope-CVS
mailing list