Skip to content

Commit 7d59c2f

Browse files
committed
bpo-34065: Fix wrongly written basicConfig document rst syntax
1 parent 4629c0d commit 7d59c2f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Doc/library/logging.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,25 +1186,24 @@ functions.
11861186
| | with *filename* or *stream* - if both |
11871187
| | are present, a ``ValueError`` is raised. |
11881188
+--------------+---------------------------------------------+
1189-
| ``force`` | If this keyword argument is specified as |
1189+
| *force* | If this keyword argument is specified as |
11901190
| | true, any existing handlers attached to the |
11911191
| | root logger are removed and closed, before |
11921192
| | carrying out the configuration as specified |
11931193
| | by the other arguments. |
11941194
+--------------+---------------------------------------------+
11951195

1196-
.. versionchanged:: 3.8
1197-
The ``force`` argument was added.
1198-
11991196
.. versionchanged:: 3.2
1200-
The ``style`` argument was added.
1197+
The *style* argument was added.
12011198

12021199
.. versionchanged:: 3.3
1203-
The ``handlers`` argument was added. Additional checks were added to
1200+
The *handlers* argument was added. Additional checks were added to
12041201
catch situations where incompatible arguments are specified (e.g.
1205-
``handlers`` together with ``stream`` or ``filename``, or ``stream``
1206-
together with ``filename``).
1202+
*handlers* together with *stream* or *filename*, or *stream*
1203+
together with *filename*).
12071204

1205+
.. versionchanged:: 3.8
1206+
The *force* argument was added.
12081207

12091208
.. function:: shutdown()
12101209

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix wrongly written basicConfig documentation markup syntax

0 commit comments

Comments
 (0)