summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-25 19:17:45 (GMT)
committerGeorg Brandl <georg@python.org>2016-02-25 19:17:45 (GMT)
commit8c16cb9f65bfc7d732bc6bd3f533856795a95690 (patch)
treeee95fd5346ec40c976a07ffce0348d56180d8251 /Lib/logging
parent2305b3cde3406f3a0ee7ff8c858bce5d372c77ae (diff)
downloadcpython-8c16cb9f65bfc7d732bc6bd3f533856795a95690.zip
cpython-8c16cb9f65bfc7d732bc6bd3f533856795a95690.tar.gz
cpython-8c16cb9f65bfc7d732bc6bd3f533856795a95690.tar.bz2
Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 104b0be..a7bd890 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -471,7 +471,7 @@ class Formatter(object):
use one of %-formatting, :meth:`str.format` (``{}``) formatting or
:class:`string.Template` formatting in your format string.
- .. versionchanged: 3.2
+ .. versionchanged:: 3.2
Added the ``style`` parameter.
"""
if style not in _STYLES:
@@ -700,7 +700,7 @@ class Filterer(object):
this and the record is then dropped. Returns a zero value if a record
is to be dropped, else non-zero.
- .. versionchanged: 3.2
+ .. versionchanged:: 3.2
Allow filters to be just callables.
"""