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

Doc/library/gettext.rst

index bc825cc8223c2da15b99a09f69f7d07de3d5c5c7..0fa022c4b82b80656a0ff7fef591701de461c201 100644 (file)
@@ -263,7 +263,7 @@ are the methods of :class:`NullTranslations`:
 
    .. method:: lngettext(singular, plural, n)
 
-      If a fallback has been set, forward :meth:`ngettext` to the fallback.
+      If a fallback has been set, forward :meth:`lngettext` to the fallback.
       Otherwise, return the translated message.  Overridden in derived classes.
 
 
@@ -644,8 +644,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