@@ -155,10 +155,7 @@ install themselves in the built-in namespace as the function :func:`!_`.
155
155
associated :file: `.mo ` file paths. Instances with identical :file: `.mo ` file
156
156
names are cached. The actual class instantiated is *class_ * if
157
157
provided, otherwise :class: `GNUTranslations `. The class's constructor must
158
- take a single :term: `file object ` argument. If provided, *codeset * will change
159
- the charset used to encode translated strings in the
160
- :meth: `~NullTranslations.lgettext ` and :meth: `~NullTranslations.lngettext `
161
- methods.
158
+ take a single :term: `file object ` argument.
162
159
163
160
If multiple files are found, later files are used as fallbacks for earlier ones.
164
161
To allow setting the fallback, :func: `copy.copy ` is used to clone each
@@ -277,7 +274,7 @@ are the methods of :class:`!NullTranslations`:
277
274
If the *names * parameter is given, it must be a sequence containing the
278
275
names of functions you want to install in the builtins namespace in
279
276
addition to :func: `!_ `. Supported names are ``'gettext' ``, ``'ngettext' ``,
280
- ``'pgettext' ``, `` 'npgettext' ``, `` 'lgettext' ``, and ``'lngettext ' ``.
277
+ ``'pgettext' ``, and ``'npgettext ' ``.
281
278
282
279
Note that this is only one way, albeit the most convenient way, to make
283
280
the :func: `!_ ` function available to your application. Because it affects
0 commit comments