Skip to content

Commit bb6114b

Browse files
committed
Suppress cross-references to N_()
1 parent af333aa commit bb6114b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/gettext.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,13 +606,13 @@ Another way to handle this is with the following example::
606606
print(_(a))
607607

608608
In this case, you are marking translatable strings with the function
609-
:func:`N_`, which won't conflict with any definition of :func:`!_`.
609+
:func:`!N_`, which won't conflict with any definition of :func:`!_`.
610610
However, you will need to teach your message extraction program to
611-
look for translatable strings marked with :func:`N_`. :program:`xgettext`,
611+
look for translatable strings marked with :func:`!N_`. :program:`xgettext`,
612612
:program:`pygettext`, ``pybabel extract``, and :program:`xpot` all
613613
support this through the use of the :option:`!-k` command-line switch.
614-
The choice of :func:`N_` here is totally arbitrary; it could have just
615-
as easily been :func:`MarkThisStringForTranslation`.
614+
The choice of :func:`!N_` here is totally arbitrary; it could have just
615+
as easily been :func:`!MarkThisStringForTranslation`.
616616

617617

618618
Acknowledgements

0 commit comments

Comments
 (0)