mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
rstlint: Fix "default role used" warning
This should make buildbots green.
This commit is contained in:
commit
db6cdf8425
1 changed files with 1 additions and 1 deletions
|
@ -2304,7 +2304,7 @@ such as `UTCFormatter`, shown below::
|
||||||
class UTCFormatter(logging.Formatter):
|
class UTCFormatter(logging.Formatter):
|
||||||
converter = time.gmtime
|
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
|
: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
|
use the :func:`~logging.config.dictConfig` API with an approach illustrated by
|
||||||
the following complete example::
|
the following complete example::
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue