Skip to content

Commit ff6b807

Browse files
committed
Remove roles from references to sets of methods
1 parent 5d7f86a commit ff6b807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/gettext.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ install themselves in the built-in namespace as the function :func:`!_`.
150150

151151
.. function:: translation(domain, localedir=None, languages=None, class_=None, fallback=False)
152152

153-
Return a :class:`*Translations` instance based on the *domain*, *localedir*,
153+
Return a ``*Translations`` instance based on the *domain*, *localedir*,
154154
and *languages*, which are first passed to :func:`find` to get a list of the
155155
associated :file:`.mo` file paths. Instances with identical :file:`.mo` file
156156
names are cached. The actual class instantiated is *class_* if
@@ -311,7 +311,7 @@ initialize the "protected" :attr:`_charset` instance variable, defaulting to
311311
ids and message strings read from the catalog are converted to Unicode using
312312
this encoding, else ASCII is assumed.
313313

314-
Since message ids are read as Unicode strings too, all :meth:`*gettext` methods
314+
Since message ids are read as Unicode strings too, all ``*gettext()`` methods
315315
will assume message ids as Unicode strings, not byte strings.
316316

317317
The entire set of key/value pairs are placed into a dictionary and set as the

0 commit comments

Comments
 (0)