diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2007-08-23 05:25:55 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2007-08-23 05:25:55 (GMT) |
commit | e07127793958bc355dd34b79c08397c698c298d7 (patch) | |
tree | 72c12623b301055c9b2c0593c19fd326933c11d4 /Lib/idlelib/PyShell.py | |
parent | 460add45008adff34b3b6a75805b8acf87a6192b (diff) | |
download | cpython-e07127793958bc355dd34b79c08397c698c298d7.zip cpython-e07127793958bc355dd34b79c08397c698c298d7.tar.gz cpython-e07127793958bc355dd34b79c08397c698c298d7.tar.bz2 |
Conform to py3k dict.{keys, items, values} with some advice from 2b3
M idlelib/configHandler.py
M idlelib/ColorDelegator.py
M idlelib/Delegator.py
M idlelib/ObjectBrowser.py
M idlelib/PyShell.py
M idlelib/Debugger.py
M idlelib/configDialog.py
M idlelib/StackViewer.py
M idlelib/keybindingDialog.py
M idlelib/tabpage.py
M idlelib/EditorWindow.py
M idlelib/WindowList.py
M idlelib/RemoteDebugger.py
M idlelib/dynOptionMenuWidget.py
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r-- | Lib/idlelib/PyShell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 7616db4..a9b8f72 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -84,7 +84,7 @@ def extended_linecache_checkcache(filename=None, """ cache = linecache.cache save = {} - for filename in cache.keys(): + for filename in cache: if filename[:1] + filename[-1:] == '<>': save[filename] = cache[filename] orig_checkcache() |