summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/logging.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 797bfc238b..b54751924c 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