mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix a typo introduced at 1.21
M IOBinding.py Backported to 23-maint
This commit is contained in:
parent
a38123e2fa
commit
188e25f637
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue