[Checkins]
SVN: zc.relationship/trunk/src/zc/relationship/README.txt
Some small doc tweaks and fixes.
Gary Poster
gary at zope.com
Wed Dec 6 12:02:26 EST 2006
Log message for revision 71458:
Some small doc tweaks and fixes.
Changed:
U zc.relationship/trunk/src/zc/relationship/README.txt
-=-
Modified: zc.relationship/trunk/src/zc/relationship/README.txt
===================================================================
--- zc.relationship/trunk/src/zc/relationship/README.txt 2006-12-06 16:45:08 UTC (rev 71457)
+++ zc.relationship/trunk/src/zc/relationship/README.txt 2006-12-06 17:02:26 UTC (rev 71458)
@@ -11,9 +11,9 @@
a relatively policy-free tool. It is expected to be used primarily as an
engine for more specialized and constrained tools and APIs.
-The relationship containers use the index to manage two-way relationships,
-using a derived mapping interface. It is a good example of the index in
-standalone use.
+The relationship containers use the index to manage two-way
+relationships, using a derived mapping interface. It is a reasonable
+example of the index in standalone use.
This document describes the relationship index. See container.txt for
documentation of the relationship container.
@@ -1095,7 +1095,7 @@
between two searches. For instance, consider the paths between Rob and
Ygritte. While a `findValues` search would only include Rob once if asked to
search for supervisors, there are two paths. These can be found with the
-targetSearch.
+targetQuery.
>>> res = [repr([intids.getObject(t) for t in path]) for path in
... ix.findRelationshipTokenChains(
@@ -1386,8 +1386,8 @@
>>> list(ix.findValueTokens('objects', {'subjects': 1}))
[2]
-Remember that BTrees (not just BTreeSets) can be used for these values: the keys
-are used as the values in that case.
+Remember that BTrees (not just BTreeSets) can be used for these values:
+the keys are used as the set members in that case.
__contains__ and Unindexing
=============================
More information about the Checkins
mailing list