summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-11-25 05:01:00 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2003-11-25 05:01:00 (GMT)
commit188e25f63703f7db17ee5b80e357447d0ec65c6b (patch)
tree939e9d27ad82c3774b0a8d86442e9575f369fcaa /Lib/idlelib
parenta38123e2fa64e05723cfeb3b25a85e8694a172e9 (diff)
downloadcpython-188e25f63703f7db17ee5b80e357447d0ec65c6b.zip
cpython-188e25f63703f7db17ee5b80e357447d0ec65c6b.tar.gz
cpython-188e25f63703f7db17ee5b80e357447d0ec65c6b.tar.bz2
Fix a typo introduced at 1.21
M IOBinding.py Backported to 23-maint
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/IOBinding.py2
1 files changed, 1 insertions, 1 deletions
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"