Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-34065: Fix wrongly written basicConfig document rst syntax about force #8153

Merged
merged 1 commit into from
Jul 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1186,25 +1186,24 @@ functions.
| | with *filename* or *stream* - if both |
| | are present, a ``ValueError`` is raised. |
+--------------+---------------------------------------------+
| ``force`` | If this keyword argument is specified as |
| *force* | If this keyword argument is specified as |
| | true, any existing handlers attached to the |
| | root logger are removed and closed, before |
| | carrying out the configuration as specified |
| | by the other arguments. |
+--------------+---------------------------------------------+

.. versionchanged:: 3.8
The ``force`` argument was added.

.. versionchanged:: 3.2
The ``style`` argument was added.
The *style* argument was added.

.. versionchanged:: 3.3
The ``handlers`` argument was added. Additional checks were added to
The *handlers* argument was added. Additional checks were added to
catch situations where incompatible arguments are specified (e.g.
``handlers`` together with ``stream`` or ``filename``, or ``stream``
together with ``filename``).
*handlers* together with *stream* or *filename*, or *stream*
together with *filename*).

.. versionchanged:: 3.8
The *force* argument was added.

.. function:: shutdown()

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix wrongly written basicConfig documentation markup syntax