bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-… · python/cpython@2800dcf

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