~jelmer/bzr-cvsps-import/avoid-note

« back to all changes in this revision

Viewing changes to cvsps/lru_cache.py

  • Committer: John Arbash Meinel
  • Date: 2008-01-09 17:21:27 UTC
  • mfrom: (58.1.2 cvsps_import)
  • Revision ID: meinel@lululaptop-20080109172127-gtnz8klbt9cgkepj
Merge in Doug Lee's typo corrections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        :param key: The key to store it under
52
52
        :param value: The object to store
53
53
        :param cleanup: None or a function taking (key, value) to indicate
54
 
                        'value' sohuld be cleaned up.
 
54
                        'value' should be cleaned up.
55
55
        """
56
56
        if key in self._cache:
57
57
            self._remove(key)