Skip to content

Commit

Permalink
Restore/remove whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed May 19, 2015
1 parent 30d3ece commit 2482449
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions persistent/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from persistent.cPersistence import UPTODATE
from persistent.cPersistence import CHANGED
from persistent.cPersistence import STICKY
except ImportError: # pragma: no cover
except ImportError: #pragma NO COVER
GHOST = -1
UPTODATE = 0
CHANGED = 1
Expand Down Expand Up @@ -314,10 +314,10 @@ def _p_invalidate():

def _p_getattr(name):
"""Test whether the base class must handle the name
The method unghostifies the object, if necessary.
The method records the object access, if necessary.
This method should be called by subclass __getattribute__
implementations before doing anything else. If the method
returns True, then __getattribute__ implementations must delegate
Expand Down Expand Up @@ -471,7 +471,7 @@ def incrgc():
""" Perform an incremental garbage collection sweep.
o Reduce number of non-ghosts to 'cache_size', if possible.
o Ghostify in LRU order.
o Skip dirty or sticky objects.
Expand Down Expand Up @@ -505,7 +505,7 @@ def new_ghost(oid, obj):
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):
Expand Down Expand Up @@ -536,7 +536,7 @@ def invalidate(to_invalidate):
o Any OID corresponding to a p-class will cause the corresponding
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.
"""

Expand Down

0 comments on commit 2482449

Please sign in to comment.