mirror of https://github.com/python/cpython
We have cp932 support in standard distribution now. And there's now
no major codepages unsupported by Python, so remove the eg. case.
This commit is contained in:
parent
61dafcb6ca
commit
4a8d42f73f
|
@ -311,10 +311,9 @@ class _Helper:
|
||||||
__builtin__.help = _Helper()
|
__builtin__.help = _Helper()
|
||||||
|
|
||||||
|
|
||||||
# On Windows, some default encodings are not provided
|
# On Windows, some default encodings are not provided by Python,
|
||||||
# by Python (e.g. "cp932" in Japanese locale), while they
|
# while they are always available as "mbcs" in each locale. Make
|
||||||
# are always available as "mbcs" in each locale.
|
# them usable by aliasing to "mbcs" in such a case.
|
||||||
# Make them usable by aliasing to "mbcs" in such a case.
|
|
||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
import locale, codecs
|
import locale, codecs
|
||||||
|
|
Loading…
Reference in New Issue