@@ -1151,10 +1151,9 @@ functions.
1151
1151
| | using the specified filename, rather than a |
1152
1152
| | StreamHandler. |
1153
1153
+--------------+---------------------------------------------+
1154
- | ``filemode `` | Specifies the :ref: `mode <filemodes >` to |
1155
- | | open the file, if |
1156
- | | filename is specified. Defaults to |
1157
- | | ``'a' ``. |
1154
+ | ``filemode `` | If ``filename `` is specified, use this |
1155
+ | | in this :ref: `mode <filemodes >`. Defaults |
1156
+ | | to ``'a' ``. |
1158
1157
+--------------+---------------------------------------------+
1159
1158
| ``format `` | Use the specified format string for the |
1160
1159
| | handler. |
@@ -1163,29 +1162,29 @@ functions.
1163
1162
| | style date/time format. |
1164
1163
+--------------+---------------------------------------------+
1165
1164
| ``style `` | If ``format `` is specified, use this style |
1166
- | | for the format string. One of '%', '{' or |
1167
- | | '$' for :ref: `printf-style |
1165
+ | | for the format string. One of `` '%' ``, |
1166
+ | | `` '{' `` or `` '$' `` for :ref: `printf-style |
1168
1167
| | <old-string-formatting>`, |
1169
1168
| | :meth: `str.format ` or |
1170
- | | :class: `string.Template ` respectively, and |
1171
- | | defaulting to '%' if not specified. |
1169
+ | | :class: `string.Template ` respectively. |
1170
+ | | Defaults to `` '%' `` |
1172
1171
+--------------+---------------------------------------------+
1173
1172
| ``level `` | Set the root logger level to the specified |
1174
1173
| | :ref: `level <levels >`. |
1175
1174
+--------------+---------------------------------------------+
1176
1175
| ``stream `` | Use the specified stream to initialize the |
1177
1176
| | StreamHandler. Note that this argument is |
1178
- | | incompatible with ' filename' - if both are |
1179
- | | present, a ``ValueError `` is raised. |
1177
+ | | incompatible with `` filename `` - if both |
1178
+ | | are present, a ``ValueError `` is raised. |
1180
1179
+--------------+---------------------------------------------+
1181
1180
| ``handlers `` | If specified, this should be an iterable of |
1182
1181
| | already created handlers to add to the root |
1183
1182
| | logger. Any handlers which don't already |
1184
1183
| | have a formatter set will be assigned the |
1185
1184
| | default formatter created in this function. |
1186
1185
| | Note that this argument is incompatible |
1187
- | | with ' filename' or ' stream' - if both are |
1188
- | | present, a ``ValueError `` is raised. |
1186
+ | | with `` filename `` or `` stream `` - if both |
1187
+ | | are present, a ``ValueError `` is raised. |
1189
1188
+--------------+---------------------------------------------+
1190
1189
1191
1190
.. versionchanged :: 3.2
0 commit comments