[Python-checkins] [3.7] bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153). (GH-8156)
Serhiy Storchaka
webhook-mailer at python.org
Sat Jul 7 12:12:14 EDT 2018
https://github.com/python/cpython/commit/75f2eb5eca38d22da62eb5814b9614792cfce13c
commit: 75f2eb5eca38d22da62eb5814b9614792cfce13c
branch: 3.7
author: Dong-hee Na <donghee.na92 at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-07-07T19:12:11+03:00
summary:
[3.7] bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153). (GH-8156)
(cherry picked from commit 2800dcf656229c2ca4c90b4ddbace0717c41bb9e)
Co-authored-by: Dong-hee Na <donghee.na92 at gmail.com>
files:
A Misc/NEWS.d/next/Documentation/2018-07-07-20-38-41.bpo-34065.1snofM.rst
M Doc/library/logging.rst
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index ddc3d45bb797..a2188c860eb4 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -1170,14 +1170,13 @@ functions.
+--------------+---------------------------------------------+
.. 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*).
.. function:: shutdown()
diff --git a/Misc/NEWS.d/next/Documentation/2018-07-07-20-38-41.bpo-34065.1snofM.rst b/Misc/NEWS.d/next/Documentation/2018-07-07-20-38-41.bpo-34065.1snofM.rst
new file mode 100644
index 000000000000..a3f9fb848f62
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2018-07-07-20-38-41.bpo-34065.1snofM.rst
@@ -0,0 +1 @@
+Fix wrongly written basicConfig documentation markup syntax
More information about the Python-checkins
mailing list