summaryrefslogtreecommitdiffstats
path: root/Lib/dircache.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dircache.py')
-rw-r--r--Lib/dircache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/dircache.py b/Lib/dircache.py
index 6171ff8..be2f314 100644
--- a/Lib/dircache.py
+++ b/Lib/dircache.py
@@ -11,9 +11,9 @@ __all__ = ["listdir", "opendir", "annotate", "reset"]
cache = {}
def reset():
- """Reset the cache completely."""
- global cache
- cache = {}
+ """Reset the cache completely."""
+ global cache
+ cache = {}
def listdir(path):
"""List directory contents, using cache."""