Skip to content

Commit

Permalink
Fix #83: Improve documentation of replacement strategy.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkem committed May 8, 2018
1 parent bb22d4f commit 3c67d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ different cache algorithms. All these classes derive from class
:class:`Cache`, which in turn derives from
:class:`collections.MutableMapping`, and provide :attr:`maxsize` and
:attr:`currsize` properties to retrieve the maximum and current size
of the cache. When a cache is full, :meth:`setitem` calls
:meth:`popitem` repeatedly until there is enough room for the item to
be added.
of the cache. When a cache is full, :meth:`Cache.__setitem__()` calls
:meth:`self.popitem()` repeatedly until there is enough room for the
item to be added.

All cache classes accept an optional `missing` keyword argument in
their constructor, which can be used to provide a default *factory
Expand Down

0 comments on commit 3c67d13

Please sign in to comment.