]> granicus.if.org Git - python/commitdiff
Fix a typo and a broken link (part of #10536).
authorÉric Araujo <merwok@netwok.org>
Sat, 8 Oct 2011 00:15:04 +0000 (02:15 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 8 Oct 2011 00:15:04 +0000 (02:15 +0200)
Found by Franz Glasner in #2504.

Doc/library/gettext.rst

index c55aaf4def851af143d93c87c76ab0f493f05e14..9b4eb0c73bf4ff3b56bd2c73621f1a83b120644e 100644 (file)
@@ -300,7 +300,7 @@ are the methods of :class:`NullTranslations`:
 
    .. 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 @@ implementations, and valuable experience to the creation of this module:
 .. [#] 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