summaryrefslogtreecommitdiff
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-06 10:11:56 +0000
committerGeorg Brandl <georg@python.org>2010-10-06 10:11:56 +0000
commitc3afd3975eebf1ed52c8c32752e1002b644e2489 (patch)
treee1a6933c7fd4f472af4e9460b0a8f1be8f9284d3 /Doc/library/locale.rst
parente593f9d6630dca449f3567d68bc1fa39e4724e76 (diff)
downloadcpython-c3afd3975eebf1ed52c8c32752e1002b644e2489.tar.gz
Migrate to Sphinx 1.0 C language constructs.
Diffstat (limited to 'Doc/library/locale.rst')
-rw-r--r--Doc/library/locale.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index b9c001f139..c15f7e3d82 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -215,7 +215,7 @@ The :mod:`locale` module defines the following exception and functions:
.. note::
- The expression is in the syntax suitable for the :cfunc:`regex` function
+ The expression is in the syntax suitable for the :c:func:`regex` function
from the C library, which might differ from the syntax used in :mod:`re`.
.. data:: NOEXPR
@@ -530,7 +530,7 @@ catalogs, and the C library's search algorithms for locating message catalogs.
Python applications should normally find no need to invoke these functions, and
should use :mod:`gettext` instead. A known exception to this rule are
applications that link use additional C libraries which internally invoke
-:cfunc:`gettext` or :func:`dcgettext`. For these applications, it may be
+:c:func:`gettext` or :func:`dcgettext`. For these applications, it may be
necessary to bind the text domain, so that the libraries can properly locate
their message catalogs.