summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/linecache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py
index 89383ea..0501a10 100644
--- a/Lib/linecache.py
+++ b/Lib/linecache.py
@@ -45,7 +45,7 @@ def checkcache(filename=None):
(This is not checked upon each call!)"""
if filename is None:
- filenames = cache.keys()
+ filenames = list(cache.keys())
else:
if filename in cache:
filenames = [filename]