diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 797bfc238b8..b54751924c0 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1681,6 +1681,8 @@ file-like object (or, more precisely, any object which supports :meth:`write` and :meth:`flush` methods). +.. currentmodule:: logging + .. class:: StreamHandler([stream]) Returns a new instance of the :class:`StreamHandler` class. If *stream* is