Skip to content

Commit b897be8

Browse files
committed
gh-127805: Clarify Formatter initialization in logging.rst
1 parent 8bbd379 commit b897be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ subclasses. However, the :meth:`!__init__` method in subclasses needs to call
562562

563563
.. method:: Handler.setFormatter(fmt)
564564

565-
Sets the :class:`Formatter` for this handler to *fmt*.
565+
Sets the :class:`Formatter` for this handler to *fmt*. The *fmt* argument must be an initialized :class:`Formatter` instance.
566566

567567

568568
.. method:: Handler.addFilter(filter)

0 commit comments

Comments
 (0)