mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Closes #26435: fix syntax in directives. Thanks to Jakub Stasiak.
This commit is contained in:
parent
2305b3cde3
commit
8c16cb9f65
10 changed files with 22 additions and 21 deletions
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue