summaryrefslogtreecommitdiffstats
path: root/Doc/library/logging.rst
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2018-07-07 12:36:40 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-07-07 12:36:40 (GMT)
commit2800dcf656229c2ca4c90b4ddbace0717c41bb9e (patch)
tree3eeed906847e6e6442d38d57233d6856ed2ad1d2 /Doc/library/logging.rst
parent4629c0d531de6b41c9f72b51a44135e9ec634d06 (diff)
downloadcpython-2800dcf656229c2ca4c90b4ddbace0717c41bb9e.zip
cpython-2800dcf656229c2ca4c90b4ddbace0717c41bb9e.tar.gz
cpython-2800dcf656229c2ca4c90b4ddbace0717c41bb9e.tar.bz2
bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153)
Diffstat (limited to 'Doc/library/logging.rst')
-rw-r--r--Doc/library/logging.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 27294cf..c63ea21 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -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()