Commit 48f25ef9 authored by Jim Fulton's avatar Jim Fulton

Merge branch 'writing-persistent-objects' of...

Merge branch 'writing-persistent-objects' of github.com:zopefoundation/zodbdocs into writing-persistent-objects
parents 8010f2d0 839e5b3a
...@@ -239,7 +239,7 @@ limited to): ...@@ -239,7 +239,7 @@ limited to):
_p_changed _p_changed
The ``_p_changed`` attribute has the value ``None`` if the The ``_p_changed`` attribute has the value ``None`` if the
object is a :ref:`ghost <ghost-label>`, True if it's changed, an object is a :ref:`ghost <ghost-label>`, True if it's changed, and
False if it's not a ghost and not changed. False if it's not a ghost and not changed.
_p_oid _p_oid
...@@ -412,10 +412,10 @@ Changed ...@@ -412,10 +412,10 @@ Changed
indicate that there are changes that need to be committed. It indicate that there are changes that need to be committed. It
remains in this state until either: remains in this state until either:
- The current transaction committed, and the object transitions to - The current transaction is committed, and the object transitions to
the saved state, or the saved state, or
- The current transitions is aborted, and the object transitions to - The current transaction is aborted, and the object transitions to
the ghost state. the ghost state.
.. _ghost-label: .. _ghost-label:
...@@ -519,7 +519,7 @@ dictionary. (It's a little more complicated for objects with slots.) ...@@ -519,7 +519,7 @@ dictionary. (It's a little more complicated for objects with slots.)
An object's state is loaded by loading the state from the database and An object's state is loaded by loading the state from the database and
passing it to the object's ``__setstate__`` method. The default passing it to the object's ``__setstate__`` method. The default
implementation expects a dictionary, which it used to populate the implementation expects a dictionary, which it uses to populate the
object's instance dictionary. object's instance dictionary.
Early on, we thought that overriding these methods would be useful for Early on, we thought that overriding these methods would be useful for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment