From: Christopher Lenz Date: Mon, 18 Jun 2007 19:49:12 +0000 (+0000) Subject: Minor doc fixes. X-Git-Tag: 1.0~496 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6f5fde22d9e3fb83bcfc202a9fd6cdb39e61acf;p=thirdparty%2Fbabel.git Minor doc fixes. --- diff --git a/babel/numbers.py b/babel/numbers.py index bad8f991..54af3dca 100644 --- a/babel/numbers.py +++ b/babel/numbers.py @@ -117,7 +117,7 @@ def format_decimal(number, format=None, locale=LC_NUMERIC): return pattern.apply(number, locale) def format_currency(number, currency, format=None, locale=LC_NUMERIC): - """Return formatted currency value. + u"""Return formatted currency value. >>> format_currency(1099.98, 'USD', locale='en_US') u'$1,099.98' diff --git a/doc/intro.txt b/doc/intro.txt index a0c92391..083cb656 100644 --- a/doc/intro.txt +++ b/doc/intro.txt @@ -52,8 +52,8 @@ languages, or time-zones, which are frequently needed in web-based applications. For these requirements, Babel includes data extracted from the `Common Locale Data Repository (CLDR) `_, and provides a number of convenient methods for accessing and using this data. See `Locale Display -Names`_ and `Number and Date Formatting`_ for more information on this aspect -of Babel. +Names`_, `Date Formatting`_, and `Number Formatting`_ for more information on +this aspect of Babel. .. _`Locale Display Names`: display.html