[Zope3-checkins] CVS: Zope3/src/persistence - interfaces.py:1.3
Marius Gedminas
mgedmin@codeworks.lt
Mon, 24 Feb 2003 06:23:44 -0500
Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv22253
Modified Files:
interfaces.py
Log Message:
Corrected several typos in src.persistence.interfaces
=== Zope3/src/persistence/interfaces.py 1.2 => 1.3 ===
--- Zope3/src/persistence/interfaces.py:1.2 Wed Dec 25 09:12:13 2002
+++ Zope3/src/persistence/interfaces.py Mon Feb 24 06:23:43 2003
@@ -17,7 +17,7 @@
class IPersistent(Interface):
"""Python persistence interface
- A persistent object can eb in one of several states:
+ A persistent object can be in one of several states:
- Unsaved
@@ -65,7 +65,7 @@
This transition occurs when an object is saved in the
database. This usually happens when an unsaved object is added
- to (e.g. as an attribute ot item of) a saved (or changed) object
+ to (e.g. as an attribute or item of) a saved (or changed) object
and the transaction is committed.
- Saved -> Changed
@@ -111,7 +111,7 @@
Note that there is a separate C API that is not included here.
The C API requires a specific data layout and defines the sticky
- state that is used to pevent object deactivation while in C
+ state that is used to prevent object deactivation while in C
routines.
"""
@@ -127,7 +127,7 @@
"""The object id
It is up to the data manager to assign this.
- The special value None is resrved to indicate that an object
+ The special value None is reserved to indicate that an object
id has not been assigned.
""")
@@ -176,7 +176,7 @@
def __getstate__():
"""Get the object state data
- The state should not include peristent attributes ("_p_name")
+ The state should not include persistent attributes ("_p_name")
"""
def __setstate__(state):
@@ -269,7 +269,7 @@
def incrgc(multiple=1):
"""Perform incremental garbage collection
- An positive integer argument can be provided to speify a
+ An positive integer argument can be provided to specify a
number of incremental steps to take.
"""
@@ -286,9 +286,9 @@
"""
def invalidateMany(oids):
- """Invalidate the objects for the given colection of object ids
+ """Invalidate the objects for the given collection of object ids
- If oids is None, all of the objets in the cache are
+ If oids is None, all of the objects in the cache are
invalidated.
The collection must be iterable as if it was a sequence of oids.