diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst --- a/Doc/library/gettext.rst +++ b/Doc/library/gettext.rst @@ -198,7 +198,8 @@ This installs the function :func:`_` in Python's builtins namespace, based on *domain*, *localedir*, and *codeset* which are passed to the function - :func:`translation`. + :func:`translation`. Methods from the resulting :class:`Translations` + instance will then be added to the built-in namespace. For the *names* parameter, please see the description of the translation object's :meth:`~NullTranslations.install` method. @@ -303,7 +304,7 @@ If the *names* parameter is given, it must be a sequence containing the names of functions you want to install in the builtins namespace in addition to :func:`_`. Supported names are ``'gettext'`` (bound to - :meth:`self.gettext`), ``'ngettext'`` (bound to :meth:`self.ngettext`), + `self.gettext`), ``'ngettext'`` (bound to `self.ngettext`), ``'lgettext'`` and ``'lngettext'``. Note that this is only one way, albeit the most convenient way, to make