Skip to content

Commit

Permalink
Update logging documentation to tidy up formatting (pythonGH-22173)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharel authored Sep 10, 2020
1 parent 788b79f commit 1e874d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,7 @@ The useful mapping keys in a :class:`LogRecord` are given in the section on
:ref:`logrecord-attributes`.


.. class:: Formatter(fmt=None, datefmt=None, style='%', validate=True, *,
defaults=None)
.. class:: Formatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)

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
Expand Down

0 comments on commit 1e874d5

Please sign in to comment.