From 188e25f63703f7db17ee5b80e357447d0ec65c6b Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Tue, 25 Nov 2003 05:01:00 +0000 Subject: Fix a typo introduced at 1.21 M IOBinding.py Backported to 23-maint --- Lib/idlelib/IOBinding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 391be77..bddd4d6 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -29,7 +29,7 @@ except ImportError: try: import locale locale.setlocale(locale.LC_CTYPE, "") -except (ImportError, locale.error): +except (ImportError, locale.Error): pass encoding = "ascii" -- cgit v0.12