Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
8add2f04
Commit
8add2f04
authored
Jun 25, 2004
by
Martijn Pieters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some clarifications to the documentation comments.
parent
d503df87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lib/python/Products/ZCatalog/Lazy.py
lib/python/Products/ZCatalog/Lazy.py
+6
-2
No files found.
lib/python/Products/ZCatalog/Lazy.py
View file @
8add2f04
...
...
@@ -161,7 +161,8 @@ class LazyMap(Lazy):
class
LazyFilter
(
Lazy
):
# Act like a sequence, but get data from a filtering process.
# Don't access data until necessary
# Don't access data until necessary. Only data for which test(data)
# returns true will be considered part of the set.
def
__init__
(
self
,
test
,
seq
):
self
.
_seq
=
seq
...
...
@@ -202,7 +203,10 @@ class LazyFilter(Lazy):
class
LazyMop
(
Lazy
):
# Act like a sequence, but get data from a filtering process.
# Don't access data until necessary
# Don't access data until necessary. Only data for which test(data)
# returns true will be considered part of the set. Exceptions raised
# in the test method are ignored and treated like test(data) return a
# false value.
def
__init__
(
self
,
test
,
seq
):
self
.
_seq
=
seq
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment