Skip to content

Commit c80bf36

Browse files
committed
Updated Handler.setFormatter description to include None as a valid fmt argument
1 parent b897be8 commit c80bf36

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*. The *fmt* argument must be an initialized :class:`Formatter` instance.
565+
Sets the :class:`Formatter` for this handler to *fmt*. The *fmt* argument must be an initialized :class:`Formatter` instance or ``None``.
566566

567567

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

0 commit comments

Comments
 (0)