]> granicus.if.org Git - python/commitdiff
Minor changes/corrections in markup.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 15 Jan 2009 23:04:47 +0000 (23:04 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 15 Jan 2009 23:04:47 +0000 (23:04 +0000)
Doc/library/logging.rst

index 1ea76f10726345c7d20376923a50b1f52372acf8..3982c7a9e9bd59717e9f2a736813f7dc235920b8 100644 (file)
@@ -535,6 +535,8 @@ provided:
 
 #. :class:`FileHandler` instances send error messages to disk files.
 
+.. module:: logging.handlers
+
 #. :class:`BaseRotatingHandler` is the base class for handlers that
    rotate log files at a certain point. It is not meant to be  instantiated
    directly. Instead, use :class:`RotatingFileHandler` or
@@ -572,6 +574,8 @@ provided:
    name. This handler is only useful on Unix-like systems; Windows does not
    support the underlying mechanism used.
 
+.. currentmodule:: logging
+
 #. :class:`NullHandler` instances do nothing with error messages. They are used
    by library developers who want to use logging, but want to avoid the "No
    handlers could be found for logger XXX" message which can be displayed if
@@ -1658,7 +1662,7 @@ WatchedFileHandler
 
 .. versionadded:: 2.6
 
-.. module:: logging.handlers
+.. currentmodule:: logging.handlers
 
 The :class:`WatchedFileHandler` class, located in the :mod:`logging.handlers`
 module, is a :class:`FileHandler` which watches the file it is logging to. If