This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* The iteration in CachedFunction.clear_cache() would raise an error since dict.keys() no longer returns a list--instead it results in modifying a dict while iterating over it. I changed this to self.cache.clear() (which also necessitated adding a clear() method to FileCache). * Very minor test fix and incidental PEP8 cleanup.
- Loading branch information
Showing
1 changed file
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters