Commit 24824495 authored by Jason Madden's avatar Jason Madden

Restore/remove whitespace.

parent 30d3eced
...@@ -23,7 +23,7 @@ try: ...@@ -23,7 +23,7 @@ try:
from persistent.cPersistence import UPTODATE from persistent.cPersistence import UPTODATE
from persistent.cPersistence import CHANGED from persistent.cPersistence import CHANGED
from persistent.cPersistence import STICKY from persistent.cPersistence import STICKY
except ImportError: # pragma: no cover except ImportError: #pragma NO COVER
GHOST = -1 GHOST = -1
UPTODATE = 0 UPTODATE = 0
CHANGED = 1 CHANGED = 1
...@@ -314,10 +314,10 @@ class IPersistent(Interface): ...@@ -314,10 +314,10 @@ class IPersistent(Interface):
def _p_getattr(name): def _p_getattr(name):
"""Test whether the base class must handle the name """Test whether the base class must handle the name
The method unghostifies the object, if necessary. The method unghostifies the object, if necessary.
The method records the object access, if necessary. The method records the object access, if necessary.
This method should be called by subclass __getattribute__ This method should be called by subclass __getattribute__
implementations before doing anything else. If the method implementations before doing anything else. If the method
returns True, then __getattribute__ implementations must delegate returns True, then __getattribute__ implementations must delegate
...@@ -471,7 +471,7 @@ class IPickleCache(Interface): ...@@ -471,7 +471,7 @@ class IPickleCache(Interface):
""" Perform an incremental garbage collection sweep. """ Perform an incremental garbage collection sweep.
o Reduce number of non-ghosts to 'cache_size', if possible. o Reduce number of non-ghosts to 'cache_size', if possible.
o Ghostify in LRU order. o Ghostify in LRU order.
o Skip dirty or sticky objects. o Skip dirty or sticky objects.
...@@ -505,7 +505,7 @@ class IPickleCache(Interface): ...@@ -505,7 +505,7 @@ class IPickleCache(Interface):
If the object's '_p_jar' is not None, raise. If the object's '_p_jar' is not None, raise.
If 'oid' is already in the cache, raise. If 'oid' is already in the cache, raise.
""" """
def reify(to_reify): def reify(to_reify):
...@@ -536,7 +536,7 @@ class IPickleCache(Interface): ...@@ -536,7 +536,7 @@ class IPickleCache(Interface):
o Any OID corresponding to a p-class will cause the corresponding o Any OID corresponding to a p-class will cause the corresponding
p-class to be removed from the cache. p-class to be removed from the cache.
o For all other OIDs, ghostify the corrsponding object and o For all other OIDs, ghostify the corrsponding object and
remove it from the ring. remove it from the ring.
""" """
......
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