[Python-checkins] r61176 - python/trunk/Doc/library/logging.rst

georg.brandl python-checkins at python.org
Sun Mar 2 14:41:39 CET 2008


Author: georg.brandl
Date: Sun Mar  2 14:41:39 2008
New Revision: 61176

Modified:
   python/trunk/Doc/library/logging.rst
Log:
Make clear that the constants are strings.


Modified: python/trunk/Doc/library/logging.rst
==============================================================================
--- python/trunk/Doc/library/logging.rst	(original)
+++ python/trunk/Doc/library/logging.rst	Sun Mar  2 14:41:39 2008
@@ -1651,21 +1651,21 @@
    You can use the *when* to specify the type of *interval*. The list of possible
    values is, note that they are not case sensitive:
 
-   +----------+-----------------------+
-   | Value    | Type of interval      |
-   +==========+=======================+
-   | S        | Seconds               |
-   +----------+-----------------------+
-   | M        | Minutes               |
-   +----------+-----------------------+
-   | H        | Hours                 |
-   +----------+-----------------------+
-   | D        | Days                  |
-   +----------+-----------------------+
-   | W        | Week day (0=Monday)   |
-   +----------+-----------------------+
-   | midnight | Roll over at midnight |
-   +----------+-----------------------+
+   +----------------+-----------------------+
+   | Value          | Type of interval      |
+   +================+=======================+
+   | ``'S'``        | Seconds               |
+   +----------------+-----------------------+
+   | ``'M'``        | Minutes               |
+   +----------------+-----------------------+
+   | ``'H'``        | Hours                 |
+   +----------------+-----------------------+
+   | ``'D'``        | Days                  |
+   +----------------+-----------------------+
+   | ``'W'``        | Week day (0=Monday)   |
+   +----------------+-----------------------+
+   | ``'midnight'`` | Roll over at midnight |
+   +----------------+-----------------------+
 
    If *backupCount* is non-zero, the system will save old log files by appending
    extensions to the filename. The extensions are date-and-time based, using the


More information about the Python-checkins mailing list