From: Terry Reedy Date: Tue, 23 Nov 2010 06:44:05 +0000 (+0000) Subject: Issue 9222 Fix filetypes for open dialog X-Git-Tag: v2.7.1~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=277896ad4ef90e87b4624190f7c8c38c994c92ee;p=python Issue 9222 Fix filetypes for open dialog Merged from 86702 --- diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index cbc1c3343e..a5b610ef87 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -521,8 +521,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", "*"), ]