diff options
author | Georg Brandl <georg@python.org> | 2009-07-26 14:37:28 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-26 14:37:28 (GMT) |
commit | d7d4fd7336baca618eb02b9a7e862bd8452d8f7d (patch) | |
tree | 2273b0b04e103df5de2a4d51d56bcf20793f1719 /Doc/library/gettext.rst | |
parent | 9fa61bb37d68225c827aa7809382ea701c264db5 (diff) | |
download | cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.zip cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.tar.gz cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.tar.bz2 |
builtin -> built-in.
Diffstat (limited to 'Doc/library/gettext.rst')
-rw-r--r-- | Doc/library/gettext.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst index b95eb79..405a382 100644 --- a/Doc/library/gettext.rst +++ b/Doc/library/gettext.rst @@ -205,7 +205,7 @@ the built-in namespace as the function :func:`_`. .. function:: install(domain[, localedir[, unicode [, codeset[, names]]]]) - This installs the function :func:`_` in Python's builtin namespace, based on + This installs the function :func:`_` in Python's builtins namespace, based on *domain*, *localedir*, and *codeset* which are passed to the function :func:`translation`. The *unicode* flag is passed to the resulting translation object's :meth:`install` method. @@ -220,7 +220,7 @@ the built-in namespace as the function :func:`_`. print _('This string will be translated.') For convenience, you want the :func:`_` function to be installed in Python's - builtin namespace, so it is easily accessible in all modules of your + builtins namespace, so it is easily accessible in all modules of your application. .. versionchanged:: 2.4 @@ -347,7 +347,7 @@ are the methods of :class:`NullTranslations`: it binds :meth:`self.ugettext` instead. By default, *unicode* is false. If the *names* parameter is given, it must be a sequence containing the - names of functions you want to install in the builtin namespace in + names of functions you want to install in the builtins namespace in addition to :func:`_`. Supported names are ``'gettext'`` (bound to :meth:`self.gettext` or :meth:`self.ugettext` according to the *unicode* flag), ``'ngettext'`` (bound to :meth:`self.ngettext` or |