From: Zachary Ware Date: Thu, 5 Nov 2015 16:28:18 +0000 (-0600) Subject: Fix use of default reST role X-Git-Tag: v2.7.11rc1~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ee55f37c2977f0499cf3abb08bcfb3246bf3791;p=python Fix use of default reST role --- diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 8743eedf71..45fd7796f8 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -1320,7 +1320,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::