Skip to content

Commit 01e0c9b

Browse files
committed
Address Tal's comments
1 parent 5f82462 commit 01e0c9b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Doc/library/logging.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,43 +1147,43 @@ functions.
11471147
+--------------+---------------------------------------------+
11481148
| Format | Description |
11491149
+==============+=============================================+
1150-
| ``filename`` | Specifies that a FileHandler be created, |
1150+
| *filename* | Specifies that a FileHandler be created, |
11511151
| | using the specified filename, rather than a |
11521152
| | StreamHandler. |
11531153
+--------------+---------------------------------------------+
1154-
| ``filemode`` | If ``filename`` is specified, open the file |
1154+
| *filemode* | If *filename* is specified, open the file |
11551155
| | in this :ref:`mode <filemodes>`. Defaults |
11561156
| | to ``'a'``. |
11571157
+--------------+---------------------------------------------+
1158-
| ``format`` | Use the specified format string for the |
1158+
| *format* | Use the specified format string for the |
11591159
| | handler. |
11601160
+--------------+---------------------------------------------+
1161-
| ``datefmt`` | Use the specified :func:`time.strftime` |
1162-
| | style date/time format. |
1161+
| *datefmt* | Use the specified date/time format, as |
1162+
| | accepted by :func:`time.strftime`. |
11631163
+--------------+---------------------------------------------+
1164-
| ``style`` | If ``format`` is specified, use this style |
1164+
| *style* | If *format* is specified, use this style |
11651165
| | for the format string. One of ``'%'``, |
11661166
| | ``'{'`` or ``'$'`` for :ref:`printf-style |
11671167
| | <old-string-formatting>`, |
11681168
| | :meth:`str.format` or |
11691169
| | :class:`string.Template` respectively. |
1170-
| | Defaults to ``'%'`` |
1170+
| | Defaults to ``'%'``. |
11711171
+--------------+---------------------------------------------+
1172-
| ``level`` | Set the root logger level to the specified |
1172+
| *level* | Set the root logger level to the specified |
11731173
| | :ref:`level <levels>`. |
11741174
+--------------+---------------------------------------------+
1175-
| ``stream`` | Use the specified stream to initialize the |
1175+
| *stream* | Use the specified stream to initialize the |
11761176
| | StreamHandler. Note that this argument is |
1177-
| | incompatible with ``filename`` - if both |
1177+
| | incompatible with *filename* - if both |
11781178
| | are present, a ``ValueError`` is raised. |
11791179
+--------------+---------------------------------------------+
1180-
| ``handlers`` | If specified, this should be an iterable of |
1180+
| *handlers* | If specified, this should be an iterable of |
11811181
| | already created handlers to add to the root |
11821182
| | logger. Any handlers which don't already |
11831183
| | have a formatter set will be assigned the |
11841184
| | default formatter created in this function. |
11851185
| | Note that this argument is incompatible |
1186-
| | with ``filename`` or ``stream`` - if both |
1186+
| | with *filename* or *stream* - if both |
11871187
| | are present, a ``ValueError`` is raised. |
11881188
+--------------+---------------------------------------------+
11891189

0 commit comments

Comments
 (0)