Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 42725:fa9a40ef0780
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
| author | Kurt B. Kaiser <kbk@shore.net> |
|---|---|
| date | Thu, 23 Aug 2007 05:25:55 +0000 |
| parents | 2ec16b6b4d04 |
| children | 06de62f33c37 |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Thu Aug 23 02:13:35 2007 +0000 +++ b/Lib/idlelib/PyShell.py Thu Aug 23 05:25:55 2007 +0000 @@ -84,7 +84,7 @@ """ cache = linecache.cache save = {} - for filename in cache.keys(): + for filename in cache: if filename[:1] + filename[-1:] == '<>': save[filename] = cache[filename] orig_checkcache()
