From: Berker Peksag Date: Tue, 20 Oct 2015 00:41:38 +0000 (+0300) Subject: rstlint: Fix "default role used" warning X-Git-Tag: v3.5.1rc1~144^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f84499a4e3f369afaf36761caab3963ce6234fd3;p=python rstlint: Fix "default role used" warning This should make buildbots green. --- diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index b89a501e13..af888c2b24 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -2295,7 +2295,7 @@ such as `UTCFormatter`, shown below:: class UTCFormatter(logging.Formatter): converter = time.gmtime -and you can then use the `UTCFormatter` in your code instead of +and you can then use the ``UTCFormatter`` in your code instead of :class:`~logging.Formatter`. If you want to do that via configuration, you can use the :func:`~logging.config.dictConfig` API with an approach illustrated by the following complete example::