[py-svn] r8025 - py/dist/py/misc
hpk at codespeak.net
hpk at codespeak.net
Sat Jan 1 20:07:45 CET 2005
Author: hpk
Date: Sat Jan 1 20:07:44 2005
New Revision: 8025
Modified:
py/dist/py/misc/cache.py
Log:
fixes to docstrings.
Modified: py/dist/py/misc/cache.py
==============================================================================
--- py/dist/py/misc/cache.py (original)
+++ py/dist/py/misc/cache.py Sat Jan 1 20:07:44 2005
@@ -1,13 +1,17 @@
"""
-This module contains cache implementations.
-Caches mainly have a __getitem__ and a
-getorbuild() method, which either just
-return a cached value or first builds the value.
+This module contains multithread-safe cache implementations.
+
+Caches mainly have a
+
+ __getitem__ and getorbuild() method
+
+where the latter either just return a cached value or
+first builds the value.
These are the current cache implementations:
- BACache tracks build-time and accesses and evicts
- by product of num-access * build-time.
+ BTACache tracks building-time and accesses. Evicts
+ by product of num-accesses * build-time.
"""
import py
More information about the pytest-commit
mailing list