[Python-checkins] cpython (2.7): Fix a typo and a broken link (part of #10536).

eric.araujo python-checkins at python.org
Sun Oct 9 09:00:10 CEST 2011


http://hg.python.org/cpython/rev/1e48a2b484a3
changeset:   72830:1e48a2b484a3
branch:      2.7
parent:      72794:666e7e325795
user:        Éric Araujo <merwok at netwok.org>
date:        Sat Oct 08 02:15:04 2011 +0200
summary:
  Fix a typo and a broken link (part of #10536).

Found by Franz Glasner in #2504.

files:
  Doc/library/gettext.rst |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst
--- a/Doc/library/gettext.rst
+++ b/Doc/library/gettext.rst
@@ -300,7 +300,7 @@
 
    .. method:: lngettext(singular, plural, n)
 
-      If a fallback has been set, forward :meth:`ngettext` to the
+      If a fallback has been set, forward :meth:`lngettext` to the
       fallback. Otherwise, return the translated message.  Overridden in derived
       classes.
 
@@ -756,8 +756,8 @@
 .. [#] See the footnote for :func:`bindtextdomain` above.
 
 .. [#] François Pinard has written a program called :program:`xpot` which does a
-   similar job.  It is available as part of his :program:`po-utils` package at http
-   ://po-utils.progiciels-bpi.ca/.
+   similar job.  It is available as part of his `po-utils package
+   <http://po-utils.progiciels-bpi.ca/>`_.
 
 .. [#] :program:`msgfmt.py` is binary compatible with GNU :program:`msgfmt` except that
    it provides a simpler, all-Python implementation.  With this and

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list