[Python-checkins] cpython (2.7): Fix typo: js_JP is not a valid locale.

georg.brandl python-checkins at python.org
Tue Oct 29 08:16:10 CET 2013


http://hg.python.org/cpython/rev/9a0fb2ca062f
changeset:   86724:9a0fb2ca062f
branch:      2.7
parent:      86706:6aa42fc0c2f6
user:        Georg Brandl <georg at python.org>
date:        Tue Oct 29 08:05:10 2013 +0100
summary:
  Fix typo: js_JP is not a valid locale.

files:
  Doc/library/datetime.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1720,7 +1720,7 @@
    making assumptions about the output value. Field orderings will vary (for
    example, "month/day/year" versus "day/month/year"), and the output may
    contain Unicode characters encoded using the locale's default encoding (for
-   example, if the current locale is ``js_JP``, the default encoding could be
+   example, if the current locale is ``ja_JP``, the default encoding could be
    any one of ``eucJP``, ``SJIS``, or ``utf-8``; use :meth:`locale.getlocale`
    to determine the current locale's encoding).
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list