From: Terry Reedy Date: Tue, 23 Nov 2010 06:07:04 +0000 (+0000) Subject: Issue 9222 Fix filetypes for open dialog X-Git-Tag: v3.1.3~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b4cb96bf7a62dd78ae053b8ac2237ced44aa360;p=thirdparty%2FPython%2Fcpython.git Issue 9222 Fix filetypes for open dialog --- diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 1b7bfc1da9c4..381bb00cc069 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -476,8 +476,8 @@ class IOBinding: savedialog = None filetypes = [ - ("Python and text files", "*.py *.pyw *.txt", "TEXT"), - ("All text files", "*", "TEXT"), + ("Python files", "*.py *.pyw", "TEXT"), + ("Text files", "*.txt", "TEXT"), ("All files", "*"), ]