[Zodb-checkins] CVS: ZODB/src/persistent - wref.py:1.1.2.4

Jeremy Hylton jeremy at zope.com
Fri Feb 13 23:45:00 EST 2004


Update of /cvs-repository/ZODB/src/persistent
In directory cvs.zope.org:/tmp/cvs-serv12956

Modified Files:
      Tag: zope3-zodb3-devel-branch
	wref.py 
Log Message:
typos


=== ZODB/src/persistent/wref.py 1.1.2.3 => 1.1.2.4 ===
--- ZODB/src/persistent/wref.py:1.1.2.3	Fri Feb 13 23:39:48 2004
+++ ZODB/src/persistent/wref.py	Fri Feb 13 23:44:59 2004
@@ -37,7 +37,7 @@
     >>> ref() is ob
     True
 
-    The hash of the ref if the same as the hash of the refernced object:
+    The hash of the ref if the same as the hash of the referenced object:
 
     >>> hash(ref) == hash(ob)
     True
@@ -51,7 +51,7 @@
     >>> WeakRef(ob2) == ref
     False
 
-    Lets save the refernce and the refernced object in a database:
+    Lets save the reference and the referenced object in a database:
 
     >>> db = ZODB.tests.util.DB()
     
@@ -60,7 +60,7 @@
     >>> conn1.root()['ref'] = ref
     >>> ZODB.tests.util.commit()
 
-    If we oprn a new connection, sure enough, we can use the reference:
+    If we open a new connection, we can use the reference:
 
     >>> conn2 = db.open()
     >>> conn2.root()['ref']() is conn2.root()['ob']
@@ -82,7 +82,7 @@
     ...
     KeyError: 'ob'
 
-    Trying to dereference the refernce returns None:
+    Trying to dereference the reference returns None:
     
     >>> conn3.root()['ref']()
     
@@ -99,7 +99,7 @@
 
     """
 
-    # We set _p_oid to a merker so that the serialization system can
+    # We set _p_oid to a marker so that the serialization system can
     # provide special handling of weakrefs.
     _p_oid = WeakRefMarker
 
@@ -153,7 +153,7 @@
     >>> d[p2] = 2
     >>> d[p3] = 3
 
-    We'll create an extra persustent object that's not in the dict:
+    We'll create an extra persistent object that's not in the dict:
 
     >>> p4 = ZODB.tests.util.P('p4')
 
@@ -169,7 +169,7 @@
     >>> [p in d for p in [p1, p2, p3, p4]]
     [True, True, True, False]
 
-    We can add the dict and the refernced objects to a database:
+    We can add the dict and the referenced objects to a database:
     
     >>> db = ZODB.tests.util.DB()
     
@@ -211,7 +211,7 @@
     >>> ZODB.tests.util.commit()
 
     And pack the database, so that the no-longer referenced p2 is
-    actuallt removed from the database.
+    actually removed from the database.
 
     >>> ZODB.tests.util.pack(db)
 




More information about the Zodb-checkins mailing list