mirror of https://github.com/python/cpython
Make clear that the constants are strings.
This commit is contained in:
parent
11ab807fff
commit
72780a4b0c
|
@ -1651,21 +1651,21 @@ timed intervals.
|
||||||
You can use the *when* to specify the type of *interval*. The list of possible
|
You can use the *when* to specify the type of *interval*. The list of possible
|
||||||
values is, note that they are not case sensitive:
|
values is, note that they are not case sensitive:
|
||||||
|
|
||||||
+----------+-----------------------+
|
+----------------+-----------------------+
|
||||||
| Value | Type of interval |
|
| Value | Type of interval |
|
||||||
+==========+=======================+
|
+================+=======================+
|
||||||
| S | Seconds |
|
| ``'S'`` | Seconds |
|
||||||
+----------+-----------------------+
|
+----------------+-----------------------+
|
||||||
| M | Minutes |
|
| ``'M'`` | Minutes |
|
||||||
+----------+-----------------------+
|
+----------------+-----------------------+
|
||||||
| H | Hours |
|
| ``'H'`` | Hours |
|
||||||
+----------+-----------------------+
|
+----------------+-----------------------+
|
||||||
| D | Days |
|
| ``'D'`` | Days |
|
||||||
+----------+-----------------------+
|
+----------------+-----------------------+
|
||||||
| W | Week day (0=Monday) |
|
| ``'W'`` | Week day (0=Monday) |
|
||||||
+----------+-----------------------+
|
+----------------+-----------------------+
|
||||||
| midnight | Roll over at midnight |
|
| ``'midnight'`` | Roll over at midnight |
|
||||||
+----------+-----------------------+
|
+----------------+-----------------------+
|
||||||
|
|
||||||
If *backupCount* is non-zero, the system will save old log files by appending
|
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
|
extensions to the filename. The extensions are date-and-time based, using the
|
||||||
|
|
Loading…
Reference in New Issue