summaryrefslogtreecommitdiffstats
path: root/Doc/library/gettext.rst
diff options
context:
space:
mode:
authorCarl <Carl-Ty@users.noreply.github.com>2020-02-10 21:15:34 (GMT)
committerGitHub <noreply@github.com>2020-02-10 21:15:34 (GMT)
commitd68e0a8a165761604e820c8cb4f20abc735e717f (patch)
tree52afba1c67641b911a37390eee962ad85fda7f38 /Doc/library/gettext.rst
parent3c5dec65e99ab7b641f1663c88e3332fff944881 (diff)
downloadcpython-d68e0a8a165761604e820c8cb4f20abc735e717f.zip
cpython-d68e0a8a165761604e820c8cb4f20abc735e717f.tar.gz
cpython-d68e0a8a165761604e820c8cb4f20abc735e717f.tar.bz2
Issue3950: Fix docs for default locale used by gettext to match implementation (#18435)
documentation for default locale directory Doc/library/gettext.rst changed to match gettext implementation line 63.
Diffstat (limited to 'Doc/library/gettext.rst')
-rw-r--r--Doc/library/gettext.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst
index 937330b..ec2c128 100644
--- a/Doc/library/gettext.rst
+++ b/Doc/library/gettext.rst
@@ -724,8 +724,8 @@ implementations, and valuable experience to the creation of this module:
.. [#] The default locale directory is system dependent; for example, on RedHat Linux
it is :file:`/usr/share/locale`, but on Solaris it is :file:`/usr/lib/locale`.
The :mod:`gettext` module does not try to support these system dependent
- defaults; instead its default is :file:`{sys.prefix}/share/locale` (see
- :data:`sys.prefix`). For this reason, it is always best to call
+ defaults; instead its default is :file:`{sys.base_prefix}/share/locale` (see
+ :data:`sys.base_prefix`). For this reason, it is always best to call
:func:`bindtextdomain` with an explicit absolute path at the start of your
application.