]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue3950: Fix docs for default locale used by gettext to match implementation (...
authorCarl <Carl-Ty@users.noreply.github.com>
Mon, 10 Feb 2020 21:15:34 +0000 (13:15 -0800)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 21:15:34 +0000 (13:15 -0800)
documentation for default locale directory Doc/library/gettext.rst changed to match gettext implementation line 63.

Doc/library/gettext.rst

index 937330bb201b083ab0d8fb0ec70447e9c34b781d..ec2c12806b41608cc26388610ccea41e459f5b6e 100644 (file)
@@ -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.