Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.

This commit is contained in:
Georg Brandl 2016-02-25 20:17:45 +01:00
parent 2305b3cde3
commit 8c16cb9f65
10 changed files with 22 additions and 21 deletions

View file

@ -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.
"""