Update logging documentation to tidy up formatting (GH-22173)

This commit is contained in:
Bar Harel 2020-09-10 13:50:23 +03:00 committed by GitHub
parent 788b79fa7b
commit 1e874d5bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -529,8 +529,7 @@ The useful mapping keys in a :class:`LogRecord` are given in the section on
:ref:`logrecord-attributes`. :ref:`logrecord-attributes`.
.. class:: Formatter(fmt=None, datefmt=None, style='%', validate=True, *, .. class:: Formatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)
defaults=None)
Returns a new instance of the :class:`Formatter` class. The instance is Returns a new instance of the :class:`Formatter` class. The instance is
initialized with a format string for the message as a whole, as well as a initialized with a format string for the message as a whole, as well as a