summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/FileList.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-12-07 15:28:10 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-12-07 15:28:10 (GMT)
commit10e05e17a3e7657ecdc4c7986d35275d76c6d603 (patch)
treefa8aed305c766c9acae68e250f0ddffb88a7b3da /Lib/idlelib/FileList.py
parent0499d0b03ac934e767daf2a8170fa27ff4a1e397 (diff)
downloadcpython-10e05e17a3e7657ecdc4c7986d35275d76c6d603.zip
cpython-10e05e17a3e7657ecdc4c7986d35275d76c6d603.tar.gz
cpython-10e05e17a3e7657ecdc4c7986d35275d76c6d603.tar.bz2
Fix for issue #10107: Without this patch IDLE on OSX doesn't warn about unsaved files when quitting.
Diffstat (limited to 'Lib/idlelib/FileList.py')
-rw-r--r--Lib/idlelib/FileList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/FileList.py b/Lib/idlelib/FileList.py
index 4c0076d..37a337e 100644
--- a/Lib/idlelib/FileList.py
+++ b/Lib/idlelib/FileList.py
@@ -48,7 +48,7 @@ class FileList:
def new(self, filename=None):
return self.EditorWindow(self, filename)
- def close_all_callback(self, event):
+ def close_all_callback(self, *args, **kwds):
for edit in list(self.inversedict):
reply = edit.close()
if reply == "cancel":