summaryrefslogtreecommitdiff
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
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 5b2941eba5..dd6f9547f7 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
@@ -535,7 +535,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 with 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.