[Zodb-checkins]
SVN: ZODB/trunk/src/ZODB/cross-database-references.txt
Wording, typo.
Leonard
leonard.norrgard at refactor.fi
Fri Feb 22 18:58:23 EST 2008
Log message for revision 84152:
Wording, typo.
Changed:
U ZODB/trunk/src/ZODB/cross-database-references.txt
-=-
Modified: ZODB/trunk/src/ZODB/cross-database-references.txt
===================================================================
--- ZODB/trunk/src/ZODB/cross-database-references.txt 2008-02-22 23:46:13 UTC (rev 84151)
+++ ZODB/trunk/src/ZODB/cross-database-references.txt 2008-02-22 23:58:22 UTC (rev 84152)
@@ -79,8 +79,8 @@
>>> p2.p4 = p4
In this example, the new object is reachable from both `p1` in database
-1 and `p2` in database 2. If we commit, which database will `p4` end up
-in? This sort of ambiguity can lead to subtle bugs. For that reason,
+1 and `p2` in database 2. If we commit, which database should `p4` end up
+in? This sort of ambiguity could lead to subtle bugs. For that reason,
an error is generated if we commit changes when new objects are
reachable from multiple databases:
@@ -120,9 +120,8 @@
(Maybe it should.)
We can disambiguate this situation by using the connection add method
-to explicitly say waht database an object belongs to:
+to explicitly say what database an object belongs to:
-
>>> p5 = MyClass()
>>> p1.p5 = p5
>>> p2.p5 = p5
More information about the Zodb-checkins
mailing list